[llvm-commits] [llvm] r137641 - in /llvm/trunk: lib/Target/ARM/ARMInstrInfo.td test/MC/ARM/basic-arm-instructions.s test/MC/Disassembler/ARM/basic-arm-instructions.txt
Owen Anderson
resistor at mac.com
Mon Aug 15 13:08:25 PDT 2011
Author: resistor
Date: Mon Aug 15 15:08:25 2011
New Revision: 137641
URL: http://llvm.org/viewvc/llvm-project?rev=137641&view=rev
Log:
Fix incorrect encoding of UMAAL and friends. Patch by James Molloy.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
llvm/trunk/test/MC/ARM/basic-arm-instructions.s
llvm/trunk/test/MC/Disassembler/ARM/basic-arm-instructions.txt
Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=137641&r1=137640&r2=137641&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Mon Aug 15 15:08:25 2011
@@ -3461,8 +3461,8 @@
bits<4> RdHi;
bits<4> Rm;
bits<4> Rn;
- let Inst{19-16} = RdLo;
- let Inst{15-12} = RdHi;
+ let Inst{19-16} = RdHi;
+ let Inst{15-12} = RdLo;
let Inst{11-8} = Rm;
let Inst{3-0} = Rn;
}
Modified: llvm/trunk/test/MC/ARM/basic-arm-instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/basic-arm-instructions.s?rev=137641&r1=137640&r2=137641&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/basic-arm-instructions.s (original)
+++ llvm/trunk/test/MC/ARM/basic-arm-instructions.s Mon Aug 15 15:08:25 2011
@@ -2197,8 +2197,8 @@
umaal r3, r4, r5, r6
umaallt r3, r4, r5, r6
-@ CHECK: umaal r3, r4, r5, r6 @ encoding: [0x95,0x46,0x43,0xe0]
-@ CHECK: umaallt r3, r4, r5, r6 @ encoding: [0x95,0x46,0x43,0xb0]
+@ CHECK: umaal r3, r4, r5, r6 @ encoding: [0x95,0x36,0x44,0xe0]
+@ CHECK: umaallt r3, r4, r5, r6 @ encoding: [0x95,0x36,0x44,0xb0]
@------------------------------------------------------------------------------
Modified: llvm/trunk/test/MC/Disassembler/ARM/basic-arm-instructions.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/ARM/basic-arm-instructions.txt?rev=137641&r1=137640&r2=137641&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/ARM/basic-arm-instructions.txt (original)
+++ llvm/trunk/test/MC/Disassembler/ARM/basic-arm-instructions.txt Mon Aug 15 15:08:25 2011
@@ -2090,8 +2090,8 @@
# CHECK: umaal r3, r4, r5, r6
# CHECK: umaallt r3, r4, r5, r6
-0x95 0x46 0x43 0xe0
-0x95 0x46 0x43 0xb0
+0x95 0x36 0x44 0xe0
+0x95 0x36 0x44 0xb0
#------------------------------------------------------------------------------
More information about the llvm-commits
mailing list