mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-25 16:41:04 +00:00
Oops
This commit is contained in:
parent
9bf8bfbed4
commit
3303a71796
@ -185,10 +185,12 @@ namespace MIPSComp
|
||||
MOVI2F(S0, 0.0f, R0);
|
||||
MOVI2F(S1, 1.0f, R0);
|
||||
VCMP(fpr.V(vregs[i]), S0);
|
||||
VMRS_APSR(); // Move FP flags from FPSCR to APSR (regular flags).
|
||||
SetCC(CC_LE);
|
||||
VMOV(fpr.V(vregs[i]), S0);
|
||||
SetCC(CC_AL);
|
||||
VCMP(fpr.V(vregs[i]), S1);
|
||||
VMRS_APSR(); // Move FP flags from FPSCR to APSR (regular flags).
|
||||
SetCC(CC_GT);
|
||||
VMOV(fpr.V(vregs[i]), S1);
|
||||
SetCC(CC_AL);
|
||||
@ -205,10 +207,12 @@ namespace MIPSComp
|
||||
MOVI2F(S0, -1.0f, R0);
|
||||
MOVI2F(S1, 1.0f, R0);
|
||||
VCMP(fpr.V(vregs[i]), S0);
|
||||
VMRS_APSR(); // Move FP flags from FPSCR to APSR (regular flags).
|
||||
SetCC(CC_LT);
|
||||
VMOV(fpr.V(vregs[i]), S0);
|
||||
SetCC(CC_AL);
|
||||
VCMP(fpr.V(vregs[i]), S1);
|
||||
VMRS_APSR(); // Move FP flags from FPSCR to APSR (regular flags).
|
||||
SetCC(CC_GT);
|
||||
VMOV(fpr.V(vregs[i]), S1);
|
||||
SetCC(CC_AL);
|
||||
|
@ -370,7 +370,7 @@ void ArmRegCacheFPU::ReleaseSpillLocksAndDiscardTemps() {
|
||||
DiscardR(i);
|
||||
}
|
||||
|
||||
ARMReg ArmRegCacheFPU::R(int mi psReg) {
|
||||
ARMReg ArmRegCacheFPU::R(int mipsReg) {
|
||||
if (mr[mipsReg].loc == ML_ARMREG) {
|
||||
return (ARMReg)(mr[mipsReg].reg + S0);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user