[PATCH] x86: replace "anymem" checks where possible

H.J. Lu hjl.tools@gmail.com
Tue Jul 16 16:56:00 GMT 2019


On Fri, Jul 5, 2019 at 5:04 AM Jan Beulich <JBeulich@suse.com> wrote:
>
> Once operand parsing has completed, the simpler check of Operand_Mem can
> be used in places where i.types[] got passed to operand_type_check().
> Note that this has shown a couple of omissions of adjusting i.flags[]
> when playing with i.op[] / i.types[] / i.tm.operand_types[].  Not all of
> them get added here, just all of the ones needed in process_operands().
>
> gas/
> 2019-07-05  Jan Beulich  <jbeulich@suse.com>
>
>         * config/tc-i386.c (check_hle, md_assemble, check_VecOperands,
>         match_template, check_string, build_modrm_byte): Replace
>         operand_type_check(..., anymem) by Operand_Mem ones.
>         (process_operands): Also copy i.flags[] when copying other
>         operand properties.
>

OK.

Thanks.

-- 
H.J.



More information about the Binutils mailing list