summaryrefslogtreecommitdiff
path: root/test/MC/X86/x86-64.s
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-12-30 22:10:49 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-12-30 22:10:49 +0000
commitc00210cef28b48b17408eb79e94691779da9d474 (patch)
tree77d1977f63a5ea76ea6ceab7f6a078e47ec21e4e /test/MC/X86/x86-64.s
parentd34f19f7bacd9476c0fc55f95f7baf1011a69191 (diff)
downloadllvm-c00210cef28b48b17408eb79e94691779da9d474.tar.gz
llvm-c00210cef28b48b17408eb79e94691779da9d474.tar.bz2
llvm-c00210cef28b48b17408eb79e94691779da9d474.tar.xz
Add another non-commutable instruction that gas accepts commuted forms for.
Fixes PR8861. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86-64.s')
-rw-r--r--test/MC/X86/x86-64.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index 5375919d55..2eb2aded6a 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -504,6 +504,10 @@ fdivrp %st(1), %st(0) // CHECK: encoding: [0xde,0xf9]
fsubrp %ST(0), %ST(1) // CHECK: encoding: [0xde,0xe9]
fsubrp %ST(1), %ST(0) // CHECK: encoding: [0xde,0xe9]
+// also PR8861
+fdivp %st(0), %st(1) // CHECK: encoding: [0xde,0xf1]
+fdivp %st(1), %st(0) // CHECK: encoding: [0xde,0xf1]
+
movl foo(%rip), %eax
// CHECK: movl foo(%rip), %eax