mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Jit64: boolX - Remove andcx immediate checks
All cases involving immediate values are now guaranteed to be handled elsewhere, making these checks redundant.
This commit is contained in:
@ -835,7 +835,7 @@ void Jit64::boolX(UGeckoInstruction inst)
|
|||||||
}
|
}
|
||||||
else if (inst.SUBOP10 == 60) // andcx
|
else if (inst.SUBOP10 == 60) // andcx
|
||||||
{
|
{
|
||||||
if (cpu_info.bBMI1 && Rb.IsSimpleReg() && !Rs.IsImm())
|
if (cpu_info.bBMI1 && Rb.IsSimpleReg())
|
||||||
{
|
{
|
||||||
ANDN(32, Ra, Rb.GetSimpleReg(), Rs);
|
ANDN(32, Ra, Rb.GetSimpleReg(), Rs);
|
||||||
}
|
}
|
||||||
@ -910,7 +910,7 @@ void Jit64::boolX(UGeckoInstruction inst)
|
|||||||
}
|
}
|
||||||
else if (inst.SUBOP10 == 60) // andcx
|
else if (inst.SUBOP10 == 60) // andcx
|
||||||
{
|
{
|
||||||
if (cpu_info.bBMI1 && Rb.IsSimpleReg() && !Rs.IsImm())
|
if (cpu_info.bBMI1 && Rb.IsSimpleReg())
|
||||||
{
|
{
|
||||||
ANDN(32, Ra, Rb.GetSimpleReg(), Rs);
|
ANDN(32, Ra, Rb.GetSimpleReg(), Rs);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user