mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02: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:
1 parent
846edfb3ab
commit
119c1ef83e
2 files changed
+4
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user