aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-09 22:50:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-09 22:50:40 +0000
commit1e8ee89c213704c398d8a7ea2567a30b0f75eb5f (patch)
treeb8dd939e48fbacbbf74abd82762fba22d6f5439d /test
parent315b1bb7465d1f5a96a1136cfa37ab89cb9bc9c6 (diff)
downloadexternal_llvm-1e8ee89c213704c398d8a7ea2567a30b0f75eb5f.zip
external_llvm-1e8ee89c213704c398d8a7ea2567a30b0f75eb5f.tar.gz
external_llvm-1e8ee89c213704c398d8a7ea2567a30b0f75eb5f.tar.bz2
MC/X86: Rename alternate spellings of CMP{8,16,32} and mark as "code gen only" so they don't get selected by the asm matcher.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_32-new-encoder.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-new-encoder.s b/test/MC/AsmParser/X86/x86_32-new-encoder.s
index ffda3b2..63ae9d1 100644
--- a/test/MC/AsmParser/X86/x86_32-new-encoder.s
+++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s
@@ -41,3 +41,6 @@ rdtscp
// CHECK: testb %bl, %cl # encoding: [0x84,0xcb]
testb %bl, %cl
+
+// CHECK: cmpl %eax, %ebx # encoding: [0x39,0xc3]
+ cmpl %eax, %ebx