diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2010-03-03 23:15:43 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2010-03-03 23:15:43 +0000 |
| commit | 09bb7a31c262d4e75a101084336c987f0085344b (patch) | |
| tree | 7c95e50ca1c7a32e8dac7c13f2fa9eff37b23c88 | |
| parent | bf0b0681b58d156a5c58364b4d32ed8ef940d72e (diff) | |
| download | external_llvm-09bb7a31c262d4e75a101084336c987f0085344b.zip external_llvm-09bb7a31c262d4e75a101084336c987f0085344b.tar.gz external_llvm-09bb7a31c262d4e75a101084336c987f0085344b.tar.bz2 | |
Modified the asm string of 16-bit Thumb MUL instruction so that it prints:
MULS <Rdm>, <Rn>, <Rdm>
according to A8.6.105 MUL Encoding T1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97675 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 1c77f27..786dd65 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -734,7 +734,7 @@ def tMOVgpr2gpr : T1I<(outs GPR:$dst), (ins GPR:$src), IIC_iMOVr, // multiply register let isCommutable = 1 in def tMUL : T1sIt<(outs tGPR:$dst), (ins tGPR:$lhs, tGPR:$rhs), IIC_iMUL32, - "mul", "\t$dst, $rhs", + "mul", "\t$dst, $rhs, $dst", /* A8.6.105 MUL Encoding T1 */ [(set tGPR:$dst, (mul tGPR:$lhs, tGPR:$rhs))]>, T1DataProcessing<0b1101>; |
