Unswap swap operands, partially reducing confusion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2012-02-14 00:17:12 +00:00
parent 747c02c768
commit 6b0e9d97fa

View File

@ -4870,11 +4870,11 @@ def VCNTq : N2VQInt<0b11, 0b11, 0b00, 0b00, 0b01010, 0,
// Vector Swap
def VSWPd : N2VX<0b11, 0b11, 0b00, 0b10, 0b00000, 0, 0,
(outs DPR:$Vd, DPR:$Vd1), (ins DPR:$Vm, DPR:$Vm1),
NoItinerary, "vswp", "$Vd, $Vm", "$Vm = $Vd1, $Vm1 = $Vd",
NoItinerary, "vswp", "$Vd, $Vm", "$Vm = $Vd, $Vm1 = $Vd1",
[]>;
def VSWPq : N2VX<0b11, 0b11, 0b00, 0b10, 0b00000, 1, 0,
(outs QPR:$Vd, QPR:$Vd1), (ins QPR:$Vm, QPR:$Vm1),
NoItinerary, "vswp", "$Vd, $Vm", "$Vm = $Vd1, $Vm1 = $Vd",
NoItinerary, "vswp", "$Vd, $Vm", "$Vm = $Vd, $Vm1 = $Vd1",
[]>;
// Vector Move Operations.