mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 04:07:08 +00:00
Merge pull request #18232 from unknownbrackets/x86-ir-extract
x86jit: Correct spill on IR lane extract
This commit is contained in:
commit
4164f363da
@ -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…
x
Reference in New Issue
Block a user