From: Johnny Chen Date: Wed, 3 Mar 2010 23:15:43 +0000 (+0000) Subject: Modified the asm string of 16-bit Thumb MUL instruction so that it prints: X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cb721da4c64bb9a844cf5180647dc926a5fd5f24;p=oota-llvm.git Modified the asm string of 16-bit Thumb MUL instruction so that it prints: MULS , , 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 --- diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 1c77f270147..786dd65b874 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>;