Subtract isn't commutative, fix this for MMX psub.
authorEric Christopher <echristo@gmail.com>
Tue, 14 May 2013 17:52:05 +0000 (17:52 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 14 May 2013 17:52:05 +0000 (17:52 +0000)
commit304d73c9eead4e19350272de6b8c2f7316db2554
tree5d4f2bf746cf0bed5aeb383540efcff6a488e884
parentbc3db03bf0931c0b1d8ed9fe733771c7fceb66f8
Subtract isn't commutative, fix this for MMX psub.

Patch by Andrea DiBiagio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181809 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrMMX.td
test/CodeGen/X86/x86-64-psub.ll [new file with mode: 0644]