mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-04 06:28:03 +00:00
jit: Disable clobber detection for now.
Should still spill better. Something is wrong with flags detection, a clobber to rd is incorrectly discarding outside a delay slot. Don't have time now to look into it further.
This commit is contained in:
parent
846edfb3ab
commit
119c1ef83e
@ -295,7 +295,8 @@ allocate:
|
||||
|
||||
if (bestToSpill != INVALID_REG) {
|
||||
// ERROR_LOG(JIT, "Out of registers at PC %08x - spills register %i.", mips_->pc, bestToSpill);
|
||||
if (clobbered) {
|
||||
// TODO: Something is wrong with our flags or clobber detection. Disabling for now.
|
||||
if (clobbered && false) {
|
||||
DiscardR(ar[bestToSpill].mipsReg);
|
||||
} else {
|
||||
FlushArmReg(bestToSpill);
|
||||
|
@ -174,7 +174,8 @@ X64Reg GPRRegCache::GetFreeXReg()
|
||||
}
|
||||
|
||||
if (bestToSpill != INVALID_REG) {
|
||||
if (clobbered) {
|
||||
// TODO: Something is wrong with our flags or clobber detection. Disabling for now.
|
||||
if (clobbered && false) {
|
||||
DiscardRegContentsIfCached(xregs[bestToSpill].mipsReg);
|
||||
} else {
|
||||
StoreFromRegister(xregs[bestToSpill].mipsReg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user