summaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/X86/x86_32-encoding.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/X86/x86_32-encoding.s')
-rw-r--r--test/MC/AsmParser/X86/x86_32-encoding.s13
1 files changed, 13 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..e029ded
--- /dev/null
+++ b/test/MC/AsmParser/X86/x86_32-encoding.s
@@ -0,0 +1,13 @@
+// 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]
+
+sbbb $0xfe,0xdeadbeef(%ebx,%ecx,8)
+# CHECK: encoding: [0x80,0x9c,0xcb,0xef,0xbe,0xad,0xde,0xfe]
+
+psllw 69, %mm3
+# CHECK: encoding: [0x0f,0xf1,0x1d,0x45,0x00,0x00,0x00]
+
+movntdqa 0xdeadbeef(%ebx,%ecx,8),%xmm5
+# CHECK: encoding: [0x66,0x0f,0x38,0x2a,0xac,0xcb,0xef,0xbe,0xad,0xde]