mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
jit-ir: Fix vbfy with overlap.
This commit is contained in:
parent
4761c0aa3f
commit
65394f1dba
1 changed files with 2 additions and 2 deletions
|
@ -1903,7 +1903,7 @@ namespace MIPSComp {
|
|||
u8 tempregs[4];
|
||||
for (int i = 0; i < n; ++i) {
|
||||
if (!IsOverlapSafe(dregs[i], n, sregs)) {
|
||||
tempregs[i] = IRVTEMP_0;
|
||||
tempregs[i] = IRVTEMP_0 + i;
|
||||
} else {
|
||||
tempregs[i] = dregs[i];
|
||||
}
|
||||
|
@ -1930,7 +1930,7 @@ namespace MIPSComp {
|
|||
|
||||
for (int i = 0; i < n; ++i) {
|
||||
if (tempregs[i] != dregs[i])
|
||||
dregs[i] = tempregs[i];
|
||||
ir.Write(IROp::FMov, dregs[i], tempregs[i]);
|
||||
}
|
||||
|
||||
ApplyPrefixD(dregs, sz);
|
||||
|
|
Loading…
Add table
Reference in a new issue