summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-15 04:04:33 +0000
committerChris Lattner <sabre@nondot.org>2010-09-15 04:04:33 +0000
commit2d592d10a57887ebe7c43a5e610f4278dd6c5d20 (patch)
treedb106d84156f34c4b7da1f1223bf78433a11a922 /test
parent00002796bbb11f58435b9f43d63fd6d0657fc3a5 (diff)
downloadllvm-2d592d10a57887ebe7c43a5e610f4278dd6c5d20.tar.gz
llvm-2d592d10a57887ebe7c43a5e610f4278dd6c5d20.tar.bz2
llvm-2d592d10a57887ebe7c43a5e610f4278dd6c5d20.tar.xz
add a bunch of aliases for fp operations with no operand,
rdar://8431422 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index d4444f8952..4bdd171445 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -210,3 +210,28 @@ inl %dx
out %al, (%dx)
out %ax, (%dx)
outl %eax, (%dx)
+
+
+// rdar://8431422
+
+// CHECK: fxch %st(1)
+// CHECK: fucom %st(1)
+// CHECK: fucomp %st(1)
+// CHECK: faddp %st(1)
+// CHECK: faddp %st(0)
+// CHECK: fsubp %st(1)
+// CHECK: fsubrp %st(1)
+// CHECK: fmulp %st(1)
+// CHECK: fdivp %st(1)
+// CHECK: fdivrp %st(1)
+
+fxch
+fucom
+fucomp
+faddp
+faddp %st
+fsubp
+fsubrp
+fmulp
+fdivp
+fdivrp