Replace AND 0xFFFF with 16-bits zero extension (more efficient)

This commit is contained in:
gdkchan 2020-02-27 22:29:19 -03:00
parent d1a58efda3
commit 5ed1534569

View file

@ -707,7 +707,7 @@ namespace ARMeilleure.Instructions
{
if (part == 0)
{
SetIntA32(context, op.Rd, context.BitwiseAnd(value, Const(0xffff)));
SetIntA32(context, op.Rd, context.ZeroExtend16(OperandType.I32, value));
}
else
{