From acf6e24586a24102587970a2ebe66cc2c5b48374 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sat, 22 Jan 2022 03:31:50 -0800 Subject: [PATCH 1/2] msvc/arm64: fix shadowed variable warning --- Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp index de3a164738..2220f0c4e7 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp @@ -113,7 +113,7 @@ void JitArm64::fp_arith(UGeckoInstruction inst) ASSERT_MSG(DYNA_REC, !inputs_are_singles, "Tried to apply 25-bit precision to single"); V0Q = fpr.GetReg(); - const ARM64Reg V1Q = fpr.GetReg(); + V1Q = fpr.GetReg(); Force25BitPrecision(reg_encoder(V0Q), VC, reg_encoder(V1Q)); VC = reg_encoder(V0Q); From 4ce9944cc53f7eab1d1b4ffffdeb153020baf939 Mon Sep 17 00:00:00 2001 From: shuffle2 Date: Sat, 22 Jan 2022 05:58:32 -0800 Subject: [PATCH 2/2] remove redundant Unlock --- Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp index 2220f0c4e7..40bad6ee03 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp @@ -117,8 +117,6 @@ void JitArm64::fp_arith(UGeckoInstruction inst) Force25BitPrecision(reg_encoder(V0Q), VC, reg_encoder(V1Q)); VC = reg_encoder(V0Q); - - fpr.Unlock(V1Q); } switch (op5)