mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
x86jit: Correct spill on IR lane extract.
This commit is contained in:
parent
06a1f0b72c
commit
05786f5719
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ void X64JitBackend::CompIR_FAssign(IRInst inst) {
|
|||
break;
|
||||
if (regs_.IsFPRMapped(inst.src1 & 3) && regs_.GetFPRLaneCount(inst.src1) == 4 && (inst.dest & ~3) != (inst.src1 & ~3)) {
|
||||
// Okay, this is an extract. Avoid unvec4ing src1.
|
||||
regs_.SpillLockFPR(inst.src1);
|
||||
regs_.SpillLockFPR(inst.src1 & ~3);
|
||||
regs_.MapFPR(inst.dest, MIPSMap::NOINIT);
|
||||
CopyVec4ToFPRLane0(regs_.FX(inst.dest), regs_.FX(inst.src1 & ~3), inst.src1 & 3);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue