Anysize is applicable to memory operands only. Move the check to where
memory operands are handled. (The RegSIMD part there was questionable
altogether.)
break;
}
- if (i.types[j].bitfield.class != Reg
- && i.types[j].bitfield.class != RegSIMD
- && t->opcode_modifier.operandconstraint == ANY_SIZE)
- continue;
-
if (i.types[j].bitfield.class == Reg
&& (t->operand_types[j].bitfield.class == Reg
|| (t->operand_types[j].bitfield.instance == Accum
if ((i.flags[j] & Operand_Mem)
&& operand_type_check (t->operand_types[j], anymem)
+ && t->opcode_modifier.operandconstraint != ANY_SIZE
&& !match_mem_size (t, j, j))
{
match = 0;