summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/X86/x86_64-new-encoder.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/X86/x86_64-new-encoder.s')
-rw-r--r--test/MC/AsmParser/X86/x86_64-new-encoder.s3
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 56ec0b38994fa..797558a81ef96 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