mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Cache fpcond in a register to avoid store/load between compare and branch
This commit is contained in:
1 parent
53800bd413
commit
17074f5a7f
5 files changed
+26
-29
No files matched your search
@@ -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?
|
||||
|
||||
Reference in new issue
Block a user