summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-08 05:17:37 +0000
committerChris Lattner <sabre@nondot.org>2010-09-08 05:17:37 +0000
commit2544f426927aa6dbac8d52bd9d5e12629099da82 (patch)
treebd4e0d48904344cfb214430ffce00f1a1fda486d /test
parent34e53140c2cc02ce4c9d060e48302576d3962e1c (diff)
downloadllvm-2544f426927aa6dbac8d52bd9d5e12629099da82.tar.gz
llvm-2544f426927aa6dbac8d52bd9d5e12629099da82.tar.bz2
llvm-2544f426927aa6dbac8d52bd9d5e12629099da82.tar.xz
add support for instruction prefixes on the same line as the instruction,
implementing rdar://8033482 and PR7254. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_64-new-encoder.s12
1 files changed, 12 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 7992972c98..5fc29f11f9 100644
--- a/test/MC/AsmParser/X86/x86_64-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_64-new-encoder.s
@@ -173,3 +173,15 @@ xchgl 368(%rax),%ecx
// CHECK: xchgl %ecx, 368(%rax)
xchgl %ecx, 368(%rax)
// CHECK: xchgl %ecx, 368(%rax)
+
+// PR7254
+lock incl 1(%rsp)
+// CHECK: lock
+// CHECK: incl 1(%rsp)
+
+// rdar://8033482
+rep movsl
+// CHECK: rep
+// CHECK: encoding: [0xf3]
+// CHECK: movsl
+// CHECK: encoding: [0xa5]