This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v2 3/9] x86: re-do "shorthand" handling
On Mon, Oct 28, 2019 at 1:04 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> Now that the opcode table gets preprocessed, undo parts of commit
> dc821c5f9a ("x86: replace Reg8, Reg16, Reg32, and Reg64"): Have the
> preprocessor handle the expansion there, while making the expansions
> explicit in i386-gen and the register table.
>
> opcodes/
> 2019-10-XX Jan Beulich <jbeulich@suse.com>
>
> * i386-gen.c (operand_type_shorthands): Delete.
> (operand_type_init): Expand previous shorthands.
> (set_bitfield_from_shorthand): Rename back to ...
> (set_bitfield_from_cpu_flag_init): ... this. Drop processing
> of operand_type_init[].
> (set_bitfield): Adjust call to the above function.
> * i386-opc.tbl (Reg8, Reg16, Reg32, Reg64, FloatAcc, FloatReg,
> RegXMM, RegYMM, RegZMM): Define.
> * i386-reg.tbl: Expand prior shorthands.
>
OK.
Thanks.
--
H.J.