ARM mode 'mul' operand ordering tweak.
authorJim Grosbach <grosbach@apple.com>
Tue, 6 Dec 2011 05:28:00 +0000 (05:28 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 6 Dec 2011 05:28:00 +0000 (05:28 +0000)
Same as r145922, just for ARM mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145923 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td
test/MC/ARM/basic-arm-instructions.s

index 0b135981284ee65e3b96e6035227cc93745803d3..2639b6ff79721e9ba943871b93b57eeeb6b32222 100644 (file)
@@ -5067,4 +5067,4 @@ def : ARMInstAlias<"ror${s}${p} $Rn, $Rm",
 
 // 'mul' instruction can be specified with only two operands.
 def : ARMInstAlias<"mul${s}${p} $Rn, $Rm",
-                   (MUL rGPR:$Rn, rGPR:$Rn, rGPR:$Rm, pred:$p, cc_out:$s)>;
+                   (MUL rGPR:$Rn, rGPR:$Rm, rGPR:$Rn, pred:$p, cc_out:$s)>;
index 133967b06b5e762ff82bd4400f7da8e248960d2f..2d8fbe173dd5f5d5ee7652d06fc0d75421aebed2 100644 (file)
@@ -1013,7 +1013,6 @@ Lforward:
 @ CHECK: muls  r5, r6, r7              @ encoding: [0x96,0x07,0x15,0xe0]
 @ CHECK: mulgt r5, r6, r7              @ encoding: [0x96,0x07,0x05,0xc0]
 @ CHECK: mulsle        r5, r6, r7              @ encoding: [0x96,0x07,0x15,0xd0]
-@ CHECK: mul   r11, r11, r5            @ encoding: [0x9b,0x05,0x0b,0xe0]
 
 
 @------------------------------------------------------------------------------