aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-05 22:49:06 +0000
committerChris Lattner <sabre@nondot.org>2010-02-05 22:49:06 +0000
commit3f1118310eddbbc0d5972e8564c7ac9b91464a33 (patch)
treef2410f165c1d6fe1dad0d18dbcd562d126d12832 /test
parentfaa75f6f6f2b37359a458fd9acd57c58ee26eea9 (diff)
downloadexternal_llvm-3f1118310eddbbc0d5972e8564c7ac9b91464a33.zip
external_llvm-3f1118310eddbbc0d5972e8564c7ac9b91464a33.tar.gz
external_llvm-3f1118310eddbbc0d5972e8564c7ac9b91464a33.tar.bz2
fix a case where we'd mis-encode fisttp because of an incorrect (and
redundant with a correct one) pattern that was added for the disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_32-encoding.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-encoding.s b/test/MC/AsmParser/X86/x86_32-encoding.s
new file mode 100644
index 0000000..3afdcca
--- /dev/null
+++ b/test/MC/AsmParser/X86/x86_32-encoding.s
@@ -0,0 +1,5 @@
+// RUN: llvm-mc -triple i386-unknown-unknown %s -show-encoding | FileCheck %s
+
+fisttpl 3735928559(%ebx,%ecx,8)
+
+# CHECK: encoding: [0xdb,0x8c,0xcb,0xef,0xbe,0xad,0xde]