aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/x86-32.s
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-10-27 00:59:28 +0000
committerKevin Enderby <enderby@apple.com>2010-10-27 00:59:28 +0000
commit41e8cc73cf570754fffdc6963321c153a8010458 (patch)
tree8c7daaa7de7cce30102b36b5127bcac306af2711 /test/MC/X86/x86-32.s
parentc95c1465fdba059f6cbf24d1d9fd84f442c60fe4 (diff)
downloadexternal_llvm-41e8cc73cf570754fffdc6963321c153a8010458.zip
external_llvm-41e8cc73cf570754fffdc6963321c153a8010458.tar.gz
external_llvm-41e8cc73cf570754fffdc6963321c153a8010458.tar.bz2
Added some aliases to the fcomip and fucompi Intel instructions. So that llvm-mc
will accept versions that the darwin assembler allows. Forms ending in "pi" and forms without all the operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86-32.s')
-rw-r--r--test/MC/X86/x86-32.s24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/X86/x86-32.s b/test/MC/X86/x86-32.s
index c474b1c..9bce1a8 100644
--- a/test/MC/X86/x86-32.s
+++ b/test/MC/X86/x86-32.s
@@ -702,3 +702,27 @@ pshufw $90, %mm4, %mm0
// CHECK: sidt 4(%eax)
// CHECK: encoding: [0x0f,0x01,0x48,0x04]
sidtl 4(%eax)
+
+// CHECK: fcomip %st(2), %st(0)
+// CHECK: encoding: [0xdf,0xf2]
+ fcompi %st(2),%st
+
+// CHECK: fcomip %st(2), %st(0)
+// CHECK: encoding: [0xdf,0xf2]
+ fcompi %st(2)
+
+// CHECK: fcomip %st(1), %st(0)
+// CHECK: encoding: [0xdf,0xf1]
+ fcompi
+
+// CHECK: fucomip %st(2), %st(0)
+// CHECK: encoding: [0xdf,0xea]
+ fucompi %st(2),%st
+
+// CHECK: fucomip %st(2), %st(0)
+// CHECK: encoding: [0xdf,0xea]
+ fucompi %st(2)
+
+// CHECK: fucomip %st(1), %st(0)
+// CHECK: encoding: [0xdf,0xe9]
+ fucompi