projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4924e
)
Address mode immediate offset has already been divided by 4.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 12 Nov 2008 08:21:12 +0000
(08:21 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 12 Nov 2008 08:21:12 +0000
(08:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59117
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMCodeEmitter.cpp
b/lib/Target/ARM/ARMCodeEmitter.cpp
index 2fdd9ce10b9d514a941469dcdab11af8e21f60c3..c583ed12defe42bfe8ccca62b09b58d2db4158b2 100644
(file)
--- a/
lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/
lib/Target/ARM/ARMCodeEmitter.cpp
@@
-1195,8
+1195,7
@@
void ARMCodeEmitter::emitVFPLoadStoreInstruction(const MachineInstr &MI) {
if (unsigned ImmOffs = ARM_AM::getAM5Offset(Offset.getImm())) {
if (ARM_AM::getAM5Op(Offset.getImm()) == ARM_AM::add)
Binary |= 1 << ARMII::U_BitShift;
- // Immediate offset is multiplied by 4.
- Binary |= ImmOffs >> 2;
+ Binary |= ImmOffs;
emitWordLE(Binary);
return;
}