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:
Sintendo 2021-01-25 23:54:35 +01:00
parent 845d7cd51f
commit 131163d33b
1 changed files with 2 additions and 2 deletions

View File

@ -835,7 +835,7 @@ void Jit64::boolX(UGeckoInstruction inst)
}
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);
}
@ -910,7 +910,7 @@ void Jit64::boolX(UGeckoInstruction inst)
}
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);
}