summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-24 19:24:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-24 19:24:18 +0000
commitae528f65ba731e2e080822496ef36db950ffe1c1 (patch)
tree15134f24515cf2e9c42318ae672523fcd516804e /test
parente17edff28f684b5c59db395bdecb7b5330638398 (diff)
downloadexternal_llvm-ae528f65ba731e2e080822496ef36db950ffe1c1.zip
external_llvm-ae528f65ba731e2e080822496ef36db950ffe1c1.tar.gz
external_llvm-ae528f65ba731e2e080822496ef36db950ffe1c1.tar.bz2
MC/X86: Add custom hack for recognizing "imul $12, %eax" and friends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index 8adcc9e..eed69e0 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -158,3 +158,6 @@ INT3
// CHECK: movaps %xmm3, (%esi)
// CHECK-STDERR: warning: scale factor without index register is ignored
movaps %xmm3, (%esi, 2)
+
+// CHECK: imull $12, %eax, %eax
+imul $12, %eax