summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-08 22:27:05 +0000
committerChris Lattner <sabre@nondot.org>2010-09-08 22:27:05 +0000
commit90b54547d9fcc381f8ec92c32756ad4da43ed9aa (patch)
treec2697f9e4d5d5a17331090ecfc55a8b122b5996c /test
parenta7f08b4970daf995d8277f42846aa3145d808d38 (diff)
downloadllvm-90b54547d9fcc381f8ec92c32756ad4da43ed9aa.tar.gz
llvm-90b54547d9fcc381f8ec92c32756ad4da43ed9aa.tar.bz2
llvm-90b54547d9fcc381f8ec92c32756ad4da43ed9aa.tar.xz
fix rdar://8407548, I missed the commuted form of xchg/test without a suffix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_64-new-encoder.s6
1 files changed, 6 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 e23c22478c..86619521fd 100644
--- a/test/MC/AsmParser/X86/x86_64-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_64-new-encoder.s
@@ -174,6 +174,12 @@ xchgl 368(%rax),%ecx
xchgl %ecx, 368(%rax)
// CHECK: xchgl %ecx, 368(%rax)
+// rdar://8407548
+xchg 0xdeadbeef(%rbx,%rcx,8),%bl
+// CHECK: xchgb %bl, 3735928559(%rbx,%rcx,8)
+
+
+
// PR7254
lock incl 1(%rsp)
// CHECK: lock