diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-13 22:49:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-13 22:49:39 +0000 |
commit | 859c9dc867960c88db326d8ee16870a518457ec0 (patch) | |
tree | e04c31f32cfa9eac47276dcbd72b7ca10f3b86f6 /test | |
parent | 5691e74f97fc8cad671d50450ad986347875e1d1 (diff) | |
download | external_llvm-859c9dc867960c88db326d8ee16870a518457ec0.zip external_llvm-859c9dc867960c88db326d8ee16870a518457ec0.tar.gz external_llvm-859c9dc867960c88db326d8ee16870a518457ec0.tar.bz2 |
X86: Fix ADD64i32 encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/X86/x86_64-new-encoder.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_64-new-encoder.s b/test/MC/AsmParser/X86/x86_64-new-encoder.s index 56ec0b3..797558a 100644 --- a/test/MC/AsmParser/X86/x86_64-new-encoder.s +++ b/test/MC/AsmParser/X86/x86_64-new-encoder.s @@ -24,3 +24,6 @@ movq $12, foo(%rip) // CHECK: movq $12, foo(%rip) // CHECK: encoding: [0x48,0xc7,0x05,A,A,A,A,0x0c,0x00,0x00,0x00] // CHECK: fixup A - offset: 3, value: foo-8, kind: reloc_riprel_4byte + +// CHECK: addq $-424, %rax # encoding: [0x48,0x05,0x58,0xfe,0xff,0xff] +addq $-424, %rax |