summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-15 04:37:18 +0000
committerChris Lattner <sabre@nondot.org>2010-09-15 04:37:18 +0000
commitcfad564043021c7276ce19725f43bcde233fa549 (patch)
treec0ee88c3c3ef2dbb90e2e9e0c49c973f4ab06029 /test
parente9e16a36d9ff355dab60e4b95673bf7a0cd27e86 (diff)
downloadllvm-cfad564043021c7276ce19725f43bcde233fa549.tar.gz
llvm-cfad564043021c7276ce19725f43bcde233fa549.tar.bz2
llvm-cfad564043021c7276ce19725f43bcde233fa549.tar.xz
implement aliases for shld/shrd, part of rdar://8418316
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index 3bd2a30504..0f0c1ed76a 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -268,3 +268,14 @@ rcl %bl
rcll 0xdeadbeef(%ebx,%ecx,8)
rcr %ecx
rcrl 0x12345678
+
+// rdar://8418316
+// CHECK: shldw $1, %bx, %bx
+// CHECK: shldw $1, %bx, %bx
+// CHECK: shrdw $1, %bx, %bx
+// CHECK: shrdw $1, %bx, %bx
+
+shld %bx,%bx
+shld $1, %bx,%bx
+shrd %bx,%bx
+shrd $1, %bx,%bx