[llvm-commits] [llvm] r119869 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Jim Grosbach
grosbach at apple.com
Fri Nov 19 15:14:43 PST 2010
Author: grosbach
Date: Fri Nov 19 17:14:43 2010
New Revision: 119869
URL: http://llvm.org/viewvc/llvm-project?rev=119869&view=rev
Log:
Fix ARM LDR* post-indexed operand encoding.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=119869&r1=119868&r2=119869&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Fri Nov 19 17:14:43 2010
@@ -1637,13 +1637,13 @@
(ins GPR:$Rn, am3offset:$offset), IndexModePost,
LdMiscFrm, itin,
opc, "\t$Rt, [$Rn], $offset", "$Rn = $Rn_wb", []> {
- bits<10> addr;
+ bits<10> offset;
bits<4> Rn;
- let Inst{23} = addr{8}; // U bit
- let Inst{22} = addr{9}; // 1 == imm8, 0 == Rm
+ let Inst{23} = offset{8}; // U bit
+ let Inst{22} = offset{9}; // 1 == imm8, 0 == Rm
let Inst{19-16} = Rn;
- let Inst{11-8} = addr{7-4}; // imm7_4/zero
- let Inst{3-0} = addr{3-0}; // imm3_0/Rm
+ let Inst{11-8} = offset{7-4}; // imm7_4/zero
+ let Inst{3-0} = offset{3-0}; // imm3_0/Rm
}
}
More information about the llvm-commits
mailing list