mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
To handle s* registers in emitVFPLoadStoreMultipleInstruction().
Fixing http://llvm.org/bugs/show_bug.cgi?id=7221. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1459,7 +1459,12 @@ ARMCodeEmitter::emitVFPLoadStoreMultipleInstruction(const MachineInstr &MI) {
|
||||
break;
|
||||
++NumRegs;
|
||||
}
|
||||
// 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user