mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-22 22:11:16 +01:00
Jit_Integer: rlwnmx: Use RotateLeft
This commit is contained in:
parent
e509353eb0
commit
4e0a688076
@ -1771,11 +1771,7 @@ void Jit64::rlwnmx(UGeckoInstruction inst)
|
||||
RCOpArg Rs = gpr.Use(s, RCMode::Read);
|
||||
RegCache::Realize(Ra, Rs);
|
||||
|
||||
if (a != s)
|
||||
MOV(32, Ra, Rs);
|
||||
|
||||
if (amount)
|
||||
ROL(32, Ra, Imm8(amount));
|
||||
RotateLeft(32, Ra, Rs, amount);
|
||||
|
||||
// we need flags if we're merging the branch
|
||||
if (inst.Rc && CheckMergedBranch(0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user