Match operand names to provide correct decoding for Thumb2 SMULL.
authorOwen Anderson <resistor@mac.com>
Mon, 22 Aug 2011 23:16:48 +0000 (23:16 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 22 Aug 2011 23:16:48 +0000 (23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138294 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb2.td

index c5f1aec9b9049f4e3e7869a8f6d480be6faebac0..352c062016b9870a5159ef2f0f7d65e9198fe156 100644 (file)
@@ -2153,9 +2153,9 @@ def t2MLS: T2FourReg<
 let neverHasSideEffects = 1 in {
 let isCommutable = 1 in {
 def t2SMULL : T2MulLong<0b000, 0b0000,
-                  (outs rGPR:$Rd, rGPR:$Ra),
+                  (outs rGPR:$RdLo, rGPR:$RdHi),
                   (ins rGPR:$Rn, rGPR:$Rm), IIC_iMUL64,
-                   "smull", "\t$Rd, $Ra, $Rn, $Rm", []>;
+                   "smull", "\t$RdLo, $RdHi, $Rn, $Rm", []>;
 
 def t2UMULL : T2MulLong<0b010, 0b0000,
                   (outs rGPR:$RdLo, rGPR:$RdHi),