[PATCH 2/4] Generate PTA features from a def file.

Uros Bizjak ubizjak@gmail.com
Wed Apr 21 10:52:02 GMT 2021


On Wed, Apr 21, 2021 at 10:28 AM Martin Liska <mliska@suse.cz> wrote:
>
>
> gcc/ChangeLog:
>
>         * config/i386/i386.h (PTA_*): Remove.
>         (enum pta_flag): New.
>         (DEF_PTA): Generate PTA_* values from i386.def.
>         * wide-int-bitmask.h (WIDE_INT_BITMASK_FROM_NTH): New macro.
>         * config/i386/i386.def: New file.

Shouldn't this file be rather named i386-isa.def?

Otherwise LGTM, but someone have to approve wide-int-bitmask.h change.

Uros.

> ---
>  gcc/config/i386/i386.def | 110 +++++++++++++++++++++++++++++++++++++++
>  gcc/config/i386/i386.h   | 106 ++++++-------------------------------
>  gcc/wide-int-bitmask.h   |   3 ++
>  3 files changed, 128 insertions(+), 91 deletions(-)
>  create mode 100644 gcc/config/i386/i386.def
>


More information about the Gcc-patches mailing list