mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Fixed some GCC compiler warnings
This commit is contained in:
parent
f9f9bb9870
commit
415aad3b03
@ -1525,14 +1525,14 @@ void Jit64::rlwimix(UGeckoInstruction inst)
|
|||||||
}
|
}
|
||||||
else if (inst.SH)
|
else if (inst.SH)
|
||||||
{
|
{
|
||||||
if (mask == -(1 << inst.SH))
|
if (mask == -(1U << inst.SH))
|
||||||
{
|
{
|
||||||
MOV(32, R(EAX), gpr.R(s));
|
MOV(32, R(EAX), gpr.R(s));
|
||||||
SHL(32, R(EAX), Imm8(inst.SH));
|
SHL(32, R(EAX), Imm8(inst.SH));
|
||||||
AND(32, gpr.R(a), Imm32(~mask));
|
AND(32, gpr.R(a), Imm32(~mask));
|
||||||
OR(32, gpr.R(a), R(EAX));
|
OR(32, gpr.R(a), R(EAX));
|
||||||
}
|
}
|
||||||
else if (mask == (1 << inst.SH) - 1)
|
else if (mask == (1U << inst.SH) - 1)
|
||||||
{
|
{
|
||||||
MOV(32, R(EAX), gpr.R(s));
|
MOV(32, R(EAX), gpr.R(s));
|
||||||
SHR(32, R(EAX), Imm8(32-inst.SH));
|
SHR(32, R(EAX), Imm8(32-inst.SH));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user