mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Update ARM JIT emitter to account for ld/st multiple changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d20d658675
commit
7c043d7319
@ -998,7 +998,7 @@ void Emitter<CodeEmitter>::emitLoadStoreMultipleInstruction(
|
||||
Binary |= 0x1 << ARMII::W_BitShift;
|
||||
|
||||
// Set registers
|
||||
for (unsigned i = 4, e = MI.getNumOperands(); i != e; ++i) {
|
||||
for (unsigned i = 5, e = MI.getNumOperands(); i != e; ++i) {
|
||||
const MachineOperand &MO = MI.getOperand(i);
|
||||
if (!MO.isReg() || MO.isImplicit())
|
||||
break;
|
||||
@ -1403,11 +1403,11 @@ void Emitter<CodeEmitter>::emitVFPLoadStoreMultipleInstruction(
|
||||
Binary |= 0x1 << ARMII::W_BitShift;
|
||||
|
||||
// First register is encoded in Dd.
|
||||
Binary |= encodeVFPRd(MI, 4);
|
||||
Binary |= encodeVFPRd(MI, 5);
|
||||
|
||||
// Number of registers are encoded in offset field.
|
||||
unsigned NumRegs = 1;
|
||||
for (unsigned i = 5, e = MI.getNumOperands(); i != e; ++i) {
|
||||
for (unsigned i = 6, e = MI.getNumOperands(); i != e; ++i) {
|
||||
const MachineOperand &MO = MI.getOperand(i);
|
||||
if (!MO.isReg() || MO.isImplicit())
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user