summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-08 00:52:02 +0000
committerEric Christopher <echristo@apple.com>2010-04-08 00:52:02 +0000
commitc0f63cf7a99ab2fc225fc5aa97312a3ebfc66a70 (patch)
treebccb3ae35b88cf408cc39fbab1230b7a82b1b943
parent03549ee5afba247f4f6f5d1542f5d49b619a9fb2 (diff)
downloadbcm5719-llvm-c0f63cf7a99ab2fc225fc5aa97312a3ebfc66a70.tar.gz
bcm5719-llvm-c0f63cf7a99ab2fc225fc5aa97312a3ebfc66a70.zip
mpsadbw is not commutative.
Fixes PR3440. llvm-svn: 100736
-rw-r--r--llvm/lib/Target/X86/X86InstrSSE.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td
index 11f7e27c4fc..48e4e0b8fd0 100644
--- a/llvm/lib/Target/X86/X86InstrSSE.td
+++ b/llvm/lib/Target/X86/X86InstrSSE.td
@@ -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
OpenPOWER on IntegriCloud