From ada06744157a84e251c6566dedf92975535a6430 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 18 Nov 2022 17:54:58 -0800 Subject: [PATCH] irjit: Allow VV2Op SIMD with exact overlap. None of these look at other lanes. --- Core/MIPS/IR/IRCompVFPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MIPS/IR/IRCompVFPU.cpp b/Core/MIPS/IR/IRCompVFPU.cpp index 8515b6031f..02f3e172e5 100644 --- a/Core/MIPS/IR/IRCompVFPU.cpp +++ b/Core/MIPS/IR/IRCompVFPU.cpp @@ -795,7 +795,7 @@ namespace MIPSComp { bool usingTemps = false; u8 tempregs[4]; for (int i = 0; i < n; ++i) { - if (!IsOverlapSafe(dregs[i], n, sregs)) { + if (!IsOverlapSafeAllowS(dregs[i], i, n, sregs)) { usingTemps = true; tempregs[i] = IRVTEMP_0 + i; } else {