add test from PR9164
authorChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 22:35:34 +0000 (22:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 22:35:34 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131876 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/X86/x86-32.s

index 95c5ea468d87ae54a4edc528ab3b40b7c7ecfe14..60178801efbe90953433bd7d2adfa1cc839ee1f7 100644 (file)
@@ -940,3 +940,9 @@ pshufw $90, %mm4, %mm0
 // CHECK: fsubp
 // CHECK: encoding: [0xde,0xe1]
 fsubp %st,%st(1)
+
+// PR9164
+// CHECK: fsubp        %st(2)
+// CHECK: encoding: [0xde,0xe2]
+fsubp   %st, %st(2)
+