From e9e16a36d9ff355dab60e4b95673bf7a0cd27e86 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 15 Sep 2010 04:33:27 +0000 Subject: 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 --- test/MC/AsmParser/X86/x86_instructions.s | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/MC') 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 -- cgit v1.2.3