This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]