OSDN Git Service

mpsadbw is not commutative.
authorEric Christopher <echristo@apple.com>
Thu, 8 Apr 2010 00:52:02 +0000 (00:52 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 8 Apr 2010 00:52:02 +0000 (00:52 +0000)
Fixes PR3440.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100736 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 11f7e27..48e4e0b 100644 (file)
@@ -3510,7 +3510,7 @@ defm DPPS         : SS41I_binop_rmi_int<0x40, "dpps",
 defm DPPD         : SS41I_binop_rmi_int<0x41, "dppd",
                                         int_x86_sse41_dppd, 1>;
 defm MPSADBW      : SS41I_binop_rmi_int<0x42, "mpsadbw",
-                                        int_x86_sse41_mpsadbw, 1>;
+                                        int_x86_sse41_mpsadbw, 0>;
 
 
 /// SS41I_ternary_int - SSE 4.1 ternary operator