diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-12-06 05:03:45 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-12-06 05:03:45 +0000 |
commit | cf9814ddd277dfcbb4ec5727e2cb510b8a451e04 (patch) | |
tree | 8af16d3b47235ff4d9c5a97b5fd5400ea2f52d2d /lib/Target/ARM/ARMInstrThumb2.td | |
parent | 1ff73d7a67e4a5bc464523cd1dd7ed3f20baf85b (diff) | |
download | llvm-cf9814ddd277dfcbb4ec5727e2cb510b8a451e04.tar.gz llvm-cf9814ddd277dfcbb4ec5727e2cb510b8a451e04.tar.bz2 llvm-cf9814ddd277dfcbb4ec5727e2cb510b8a451e04.tar.xz |
Thumb2: MUL two-operand form encoding operand order fix.
Fix the alias to encode 'mul r5, r6' as if it were 'mul r5, r6, r5' so we
match gas.
rdar://10532439
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb2.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 6129fa307c..f204f0d9e8 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -4088,4 +4088,4 @@ def : t2InstAlias<"mov${p} $Rd, $imm", // Wide 'mul' encoding can be specified with only two operands. def : t2InstAlias<"mul${p} $Rn, $Rm", - (t2MUL rGPR:$Rn, rGPR:$Rn, rGPR:$Rm, pred:$p)>; + (t2MUL rGPR:$Rn, rGPR:$Rm, rGPR:$Rn, pred:$p)>; |