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);
|
RCOpArg Rs = gpr.Use(s, RCMode::Read);
|
||||||
RegCache::Realize(Ra, Rs);
|
RegCache::Realize(Ra, Rs);
|
||||||
|
|
||||||
if (a != s)
|
RotateLeft(32, Ra, Rs, amount);
|
||||||
MOV(32, Ra, Rs);
|
|
||||||
|
|
||||||
if (amount)
|
|
||||||
ROL(32, Ra, Imm8(amount));
|
|
||||||
|
|
||||||
// we need flags if we're merging the branch
|
// we need flags if we're merging the branch
|
||||||
if (inst.Rc && CheckMergedBranch(0))
|
if (inst.Rc && CheckMergedBranch(0))
|
||||||
|
|
Loading…
Reference in New Issue