From a2f4bb9077c4daff751c25218ef33b946fd21fc2 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Thu, 6 Feb 2014 01:21:15 +0000 Subject: Update the X86 assembler for .intel_syntax to accept the << and >> bitwise operators. rdar://15975725 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200896 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/X86/intel-syntax-bitwise-ops.s | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/MC/X86/intel-syntax-bitwise-ops.s b/test/MC/X86/intel-syntax-bitwise-ops.s index a38ae85e6e..c9c9b1d17b 100644 --- a/test/MC/X86/intel-syntax-bitwise-ops.s +++ b/test/MC/X86/intel-syntax-bitwise-ops.s @@ -16,3 +16,7 @@ and ecx, ((1)|2) // CHECK: andl $1, %ecx and ecx, 1&2+3 +// CHECK: addl $4938, %eax + add eax, 9876 >> 1 +// CHECK: addl $19752, %eax + add eax, 9876 << 1 -- cgit v1.2.3