summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-15 04:33:27 +0000
committerChris Lattner <sabre@nondot.org>2010-09-15 04:33:27 +0000
commite9e16a36d9ff355dab60e4b95673bf7a0cd27e86 (patch)
tree1cdcb97e27cbeff24a389f9028beddc520a7468e /test
parent84f362d8912657bb21250a65331f797d5381e9a3 (diff)
downloadllvm-e9e16a36d9ff355dab60e4b95673bf7a0cd27e86.tar.gz
llvm-e9e16a36d9ff355dab60e4b95673bf7a0cd27e86.tar.bz2
llvm-e9e16a36d9ff355dab60e4b95673bf7a0cd27e86.tar.xz
fix rdar://8431880 - rcl/rcr with no shift amount not recognized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113936 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 4faf2e55fe..3bd2a30504 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -257,3 +257,14 @@ fnstsw
fnstsw %ax
fnstsw %eax
fnstsw %al
+
+// rdar://8431880
+// CHECK: rclb $1, %bl
+// CHECK: rcll $1, 3735928559(%ebx,%ecx,8)
+// CHECK: rcrl $1, %ecx
+// CHECK: rcrl $1, 305419896
+
+rcl %bl
+rcll 0xdeadbeef(%ebx,%ecx,8)
+rcr %ecx
+rcrl 0x12345678