Cache fpcond in a register to avoid store/load between compare and branch

This commit is contained in:
Henrik Rydgård committed 2013-11-12 10:33:38 +01:00
1 parent 53800bd413
commit 17074f5a7f
5 files changed
+26 -29

No files matched your search

+2
View File
@@ -532,6 +532,8 @@ int ArmRegCache::GetMipsRegOffset(MIPSGPReg r) {
return offsetof(MIPSState, hi);
case MIPS_REG_LO:
return offsetof(MIPSState, lo);
case MIPS_REG_FPCOND:
return offsetof(MIPSState, fpcond);
default:
ERROR_LOG(JIT, "bad mips register %i", r);
return 0; // or what?