Skip to content

Commit

Permalink
Merge pull request #12722 from JosJuice/jitarm64-mtfsfix-minor
Browse files Browse the repository at this point in the history
JitArm64: Minor mtfsfix optimization
  • Loading branch information
AdmiralCurtiss committed May 22, 2024
2 parents c8ea116 + 4ac52cf commit 578a3ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ void JitArm64::mtfsfix(UGeckoInstruction inst)
}
else if (imm == 0x0)
{
BFI(WA, ARM64Reg::WZR, shift, 4);
const u32 inverted_mask = ~mask;
AND(WA, WA, LogicalImm(inverted_mask, GPRSize::B32));
}
else
{
Expand Down

0 comments on commit 578a3ce

Please sign in to comment.