[PATCH 0/7] x86: templatize various ALU insn templates

Jan Beulich jbeulich@suse.com
Mon Mar 25 10:05:49 GMT 2024


With the multitude of new APX templates, it finally becomes desirable to
further remove redundancy by also templatizing basic arithmetic insns.

Unlike indicated previously, I think at least part of this would better
go ahead of the APX NF patch. This is because some of what needs adding
explicitly there is being added implicitly here (patches 3 and 4 at
least), in order to avoid losing templates we already had (prematurely
added by the APX NDD patch, imo).

Note that patches 4 and 5 also drop certain templates again which imo
were added by mistake in the course of the NDD work. See the descriptions
of those patches.

1: templatize INC/DEC
2: templatize unary ALU insns
3: templatize binary ALU insns
4: templatize shift/rotate insns
5: templatize shift-double insns
6: templatize ADX insns
7: templatize RAO-INT insns

Jan


More information about the Binutils mailing list