From 655102fc7da82ce9448b284bc362edd2121ef4ef Mon Sep 17 00:00:00 2001 From: Simon Scherer Date: Wed, 8 Jul 2026 09:50:45 +0200 Subject: [PATCH] JIT/ALUOps: Fix operand overlapping bug for pdep --- FEXCore/Source/Interface/Core/JIT/ALUOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FEXCore/Source/Interface/Core/JIT/ALUOps.cpp b/FEXCore/Source/Interface/Core/JIT/ALUOps.cpp index f9b470d07..236622249 100644 --- a/FEXCore/Source/Interface/Core/JIT/ALUOps.cpp +++ b/FEXCore/Source/Interface/Core/JIT/ALUOps.cpp @@ -774,7 +774,7 @@ DEF_OP(PDep) { // Now, they're copied, so we can start setting Dest (even if it overlaps with // one of them). Handle early exit case mov(EmitSize, Dest, 0); - (void)cbz(EmitSize, OrigMask, &Done); + (void)cbz(EmitSize, Mask, &Done); // Setup for first iteration neg(EmitSize, T0, Mask);