mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
Merge pull request #13238 from JosJuice/jitarm64-rlwinmx-imm-mask
JitArm64: Handle rlwinmx with zero mask
This commit is contained in:
commit
d10cb9dfc4
1 changed files with 8 additions and 0 deletions
|
@ -765,6 +765,14 @@ void JitArm64::rlwinmx_internal(UGeckoInstruction inst, u32 sh)
|
|||
return;
|
||||
}
|
||||
|
||||
if (mask == 0)
|
||||
{
|
||||
gpr.SetImmediate(a, 0);
|
||||
if (inst.Rc)
|
||||
ComputeRC0(0);
|
||||
return;
|
||||
}
|
||||
|
||||
gpr.BindToRegister(a, a == s);
|
||||
|
||||
if (sh == 0 && mask == 0xFFFFFFFF)
|
||||
|
|
Loading…
Add table
Reference in a new issue