aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-09 00:49:22 +0000
committerChris Lattner <sabre@nondot.org>2010-02-09 00:49:22 +0000
commite16b0fc3cb607bd0b8240733e2fe829d78df3833 (patch)
tree87e1b2189c0d9e897b37f8295e6f26af87285a58 /test
parentddea94a8193a9bdbcd2d7655c3be7b189f7e30ac (diff)
downloadexternal_llvm-e16b0fc3cb607bd0b8240733e2fe829d78df3833.zip
external_llvm-e16b0fc3cb607bd0b8240733e2fe829d78df3833.tar.gz
external_llvm-e16b0fc3cb607bd0b8240733e2fe829d78df3833.tar.bz2
Implement x86 asm parsing support for %st and %st(4)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index 2049a60..a74dcd2 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -136,3 +136,10 @@
// CHECK: movb 0(%eax), %al
gs;movb 0(%eax), %al
+// CHECK: fadd %st(0)
+// CHECK: fadd %st(1)
+// CHECK: fadd %st(7)
+
+fadd %st(0)
+fadd %st(1)
+fadd %st(7)