[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrThumb.td
Evan Cheng
evan.cheng at apple.com
Tue May 1 13:27:37 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMInstrThumb.td updated: 1.24 -> 1.25
---
Log message:
Doh. PC displacement is between the constantpool and the add instruction.
---
Diffs of the changes: (+1 -1)
ARMInstrThumb.td | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMInstrThumb.td
diff -u llvm/lib/Target/ARM/ARMInstrThumb.td:1.24 llvm/lib/Target/ARM/ARMInstrThumb.td:1.25
--- llvm/lib/Target/ARM/ARMInstrThumb.td:1.24 Fri Apr 27 08:54:47 2007
+++ llvm/lib/Target/ARM/ARMInstrThumb.td Tue May 1 15:27:19 2007
@@ -511,7 +511,7 @@
// assembler.
def tLEApcrel : TIx2<(ops GPR:$dst, i32imm:$label),
!strconcat(!strconcat(".set PCRELV${:uid}, ($label-(",
- "${:private}PCRELL${:uid}+6))\n"),
+ "${:private}PCRELL${:uid}+4))\n"),
!strconcat("\tmov $dst, #PCRELV${:uid}\n",
"${:private}PCRELL${:uid}:\n\tadd $dst, pc")),
[]>;
More information about the llvm-commits
mailing list