[llvm-commits] [llvm] r97675 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Johnny Chen johnny.chen at apple.com
Wed Mar 3 15:15:43 PST 2010


Author: johnny
Date: Wed Mar  3 17:15:43 2010
New Revision: 97675

URL: http://llvm.org/viewvc/llvm-project?rev=97675&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrThumb.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb.td?rev=97675&r1=97674&r2=97675&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb.td Wed Mar  3 17:15:43 2010
@@ -734,7 +734,7 @@
 // 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>;
 





More information about the llvm-commits mailing list