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:
Unknown W. Brackets committed 2014-12-08 01:24:17 -08:00
1 parent 846edfb3ab
commit 119c1ef83e
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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);
+2 -1
View File
@@ -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);