To handle s* registers in emitVFPLoadStoreMultipleInstruction().
Fixing http://llvm.org/bugs/show_bug.cgi?id=7221. llvm-svn: 104652
This commit is contained in:
parent
e7b64dcc1e
commit
e22abfa823
|
@ -1459,7 +1459,12 @@ ARMCodeEmitter::emitVFPLoadStoreMultipleInstruction(const MachineInstr &MI) {
|
|||
break;
|
||||
++NumRegs;
|
||||
}
|
||||
Binary |= NumRegs * 2;
|
||||
// Bit 8 will be set if <list> is consecutive 64-bit registers (e.g., D0)
|
||||
// Otherwise, it will be 0, in the case of 32-bit registers.
|
||||
if(Binary & 0x100)
|
||||
Binary |= NumRegs * 2;
|
||||
else
|
||||
Binary |= NumRegs;
|
||||
|
||||
emitWordLE(Binary);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue