aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-11 23:23:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-11 23:23:44 +0000
commit35303e35fe1643fbfe84bbf7def94e6bcdeda8c4 (patch)
tree029d6ab65f30cc1de380f9fd5cc1dda6e1d430eb /test/MC
parentac97e8e8339a322285a6039b5a224eda83ea3c8f (diff)
downloadexternal_llvm-35303e35fe1643fbfe84bbf7def94e6bcdeda8c4.zip
external_llvm-35303e35fe1643fbfe84bbf7def94e6bcdeda8c4.tar.gz
external_llvm-35303e35fe1643fbfe84bbf7def94e6bcdeda8c4.tar.bz2
llvm-mc/AsmParser: Match hard coded registers (e.g. 'shldl %cl, %eax, %eax')
We now match all of 403.gcc (as emitted by clang). :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/x86_instructions.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/AsmParser/x86_instructions.s b/test/MC/AsmParser/x86_instructions.s
index 0d3367a..c5cb805 100644
--- a/test/MC/AsmParser/x86_instructions.s
+++ b/test/MC/AsmParser/x86_instructions.s
@@ -52,3 +52,7 @@
// FIXME: Check that this matches the correct instruction.
// RUN: grep {MCInst(opcode=.*, operands=.reg:80.)} %t
call *%rax
+
+// FIXME: Check that this matches the correct instruction.
+// RUN: grep {MCInst(opcode=.*, operands=.reg:21, reg:0, reg:19.)} %t
+ shldl %cl, %eax, %ebx