[llvm-branch-commits] [llvm-branch] r81641 - in /llvm/branches/release_26/lib/Target/ARM: ARMCodeEmitter.cpp ARMInstrFormats.td
Tanya Lattner
tonic at nondot.org
Sat Sep 12 15:30:53 PDT 2009
Author: tbrethou
Date: Sat Sep 12 17:30:53 2009
New Revision: 81641
URL: http://llvm.org/viewvc/llvm-project?rev=81641&view=rev
Log:
Merge 81403 from mainline.
Fix double load / store multiple encoding.
Modified:
llvm/branches/release_26/lib/Target/ARM/ARMCodeEmitter.cpp
llvm/branches/release_26/lib/Target/ARM/ARMInstrFormats.td
Modified: llvm/branches/release_26/lib/Target/ARM/ARMCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/lib/Target/ARM/ARMCodeEmitter.cpp?rev=81641&r1=81640&r2=81641&view=diff
==============================================================================
--- llvm/branches/release_26/lib/Target/ARM/ARMCodeEmitter.cpp (original)
+++ llvm/branches/release_26/lib/Target/ARM/ARMCodeEmitter.cpp Sat Sep 12 17:30:53 2009
@@ -963,7 +963,7 @@
// DB - Decrement before - bit U = 0 and bit P = 1
switch (Mode) {
default: llvm_unreachable("Unknown addressing sub-mode!");
- case ARM_AM::da: break;
+ case ARM_AM::da: break;
case ARM_AM::db: Binary |= 0x1 << ARMII::P_BitShift; break;
case ARM_AM::ia: Binary |= 0x1 << ARMII::U_BitShift; break;
case ARM_AM::ib: Binary |= 0x3 << ARMII::U_BitShift; break;
Modified: llvm/branches/release_26/lib/Target/ARM/ARMInstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/lib/Target/ARM/ARMInstrFormats.td?rev=81641&r1=81640&r2=81641&view=diff
==============================================================================
--- llvm/branches/release_26/lib/Target/ARM/ARMInstrFormats.td (original)
+++ llvm/branches/release_26/lib/Target/ARM/ARMInstrFormats.td Sat Sep 12 17:30:53 2009
@@ -1070,7 +1070,7 @@
}
// Load / store multiple
-class AXSI5<dag oops, dag iops, InstrItinClass itin,
+class AXDI5<dag oops, dag iops, InstrItinClass itin,
string asm, list<dag> pattern>
: VFPXI<oops, iops, AddrMode5, Size4Bytes, IndexModeNone,
VFPLdStMulFrm, itin, asm, "", pattern> {
@@ -1079,7 +1079,7 @@
let Inst{11-8} = 0b1011;
}
-class AXDI5<dag oops, dag iops, InstrItinClass itin,
+class AXSI5<dag oops, dag iops, InstrItinClass itin,
string asm, list<dag> pattern>
: VFPXI<oops, iops, AddrMode5, Size4Bytes, IndexModeNone,
VFPLdStMulFrm, itin, asm, "", pattern> {
@@ -1088,7 +1088,6 @@
let Inst{11-8} = 0b1010;
}
-
// Double precision, unary
class ADuI<bits<8> opcod1, bits<4> opcod2, bits<4> opcod3, dag oops, dag iops,
InstrItinClass itin, string opc, string asm, list<dag> pattern>
More information about the llvm-branch-commits
mailing list