Add N3RegVShFrm to represent 3-Register Vector Shift Instructions, which do not
authorJohnny Chen <johnny.chen@apple.com>
Fri, 26 Mar 2010 21:26:28 +0000 (21:26 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Fri, 26 Mar 2010 21:26:28 +0000 (21:26 +0000)
commitc6e704df8d6e96260a463dac4675ed6968e186e6
tree7bc6e573a5066b7f45ac4437baeb7c10d0d162e7
parentbbbf9a2eaa33228c90afd344c799ae3577c6a5a0
Add N3RegVShFrm to represent 3-Register Vector Shift Instructions, which do not
follow the N3RegFrm's operand order of D:Vd N:Vn M:Vm.  The operand order of
N3RegVShFrm is D:Vd M:Vm N:Vn (notice that M:Vm is the first src operand).

Add a parent class N3Vf which requires passing a Format argument and which the
N3V class is modified to inherit from.  N3V class represents the "normal"
3-Register NEON Instructions with N3RegFrm.

Also add a multiclass N3VSh_QHSD to represent clusters of NEON 3-Register Shift
Instructions and replace 8 invocations with it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99655 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/ARMInstrNEON.td