summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-02-06 01:21:15 +0000
committerKevin Enderby <enderby@apple.com>2014-02-06 01:21:15 +0000
commita2f4bb9077c4daff751c25218ef33b946fd21fc2 (patch)
treef87f2629132a713a03a70e4b9ca0abfe2fb86196 /test
parentcc94d006f836f4278e99c998384fad7543ddf7b5 (diff)
downloadllvm-a2f4bb9077c4daff751c25218ef33b946fd21fc2.tar.gz
llvm-a2f4bb9077c4daff751c25218ef33b946fd21fc2.tar.bz2
llvm-a2f4bb9077c4daff751c25218ef33b946fd21fc2.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/MC/X86/intel-syntax-bitwise-ops.s4
1 files changed, 4 insertions, 0 deletions
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