Fix the encoding of QADD/SUB, QDADD/SUB. While qadd16, qadd8 use "rd, rn, rm",
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 21 Jan 2011 14:07:40 +0000 (14:07 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 21 Jan 2011 14:07:40 +0000 (14:07 +0000)
commit030160073d8ec7d5fc1d928d9c8b6173d3a5e0cc
treea4375fd8a0e51b68ddf47b033205803197801db6
parent46713296e0da8f413b94b9c2b82b079e6e3bd6e2
Fix the encoding of QADD/SUB, QDADD/SUB. While qadd16, qadd8 use  "rd, rn, rm",
qadd and qdadd uses "rd, rm, rn", the same applies to the 'sub' variants. This
is described in ARM manuals and matches the encoding used by the gnu assembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123975 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
test/MC/ARM/arm_instructions.s
test/MC/ARM/thumb2.s