summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-22 06:26:39 +0000
committerChris Lattner <sabre@nondot.org>2010-09-22 06:26:39 +0000
commit2c5291b56358bf239bdfc675ed681c2da3eb4901 (patch)
tree904b5043f036d22d51f4aff52c059c638a344935 /test
parent1eb1b68e3a5241591bfa18d4beb0e0cf13a48ef2 (diff)
downloadllvm-2c5291b56358bf239bdfc675ed681c2da3eb4901.tar.gz
llvm-2c5291b56358bf239bdfc675ed681c2da3eb4901.tar.bz2
llvm-2c5291b56358bf239bdfc675ed681c2da3eb4901.tar.xz
fix rdar://8456371 - Handle commutable instructions written backward.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index aea617dff0..b72374db46 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -353,3 +353,11 @@ mov %rdx, %cr8
mov %rdx, %cr15
// CHECK: movq %rdx, %cr15
// CHECK: encoding: [0x44,0x0f,0x22,0xfa]
+
+// rdar://8456371 - Handle commutable instructions written backward.
+// CHECK: faddp %st(1)
+// CHECK: fmulp %st(2)
+faddp %st, %st(1)
+fmulp %st, %st(2)
+
+