> From: Dipesh Sharma <[email protected]>
> Sent: Sunday, November 1, 2026 9:48 PM
> 

LGTM with minor comments resolved.

> gcc/ChangeLog:
> 
>       * common/config/i386/cpuinfo.h (get_available_features): Add
> AVX10V1AUX.
>       * common/config/i386/i386-common.cc
> (OPTION_MASK_ISA2_AVX10V1AUX_SET): New.
>       (OPTION_MASK_ISA2_AVX10_1_UNSET): Disable AVX10V1AUX.
>       (OPTION_MASK_ISA2_AVX10V2AUX_UNSET): Disable ACEV1.

You did not touch this line.

>       (OPTION_MASK_ISA2_AVX10V1AUX_UNSET): Disable ACEV1.
>       (ix86_handle_option): Handle AVX10V1AUX.
>       * common/config/i386/i386-cpuinfo.h (enum processor_features):
> Add FEATURE_AVX10V1AUX.
>       * common/config/i386/i386-isas.h: Handle avx10v1aux.
>       * config/i386/cpuid.h (bit_AVX10V1AUX): New.
>       * config/i386/i386-c.cc (ix86_target_macros_internal): Handle
> avx10v1aux.
>       * config/i386/i386-isa.def (AVX10V1AUX): New.
>       * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p):
> Handle Ditto..

What do you mean by this?

>       * config/i386/i386.h: Add PTA_AVX10V1AUX to targets using
>         PTA_AVX10_2.
>       * config/i386/i386.opt: Add avx10v1aux.
>       * config/i386/i386.opt.urls: Regenerated.
>       * doc/extend.texi: Add avx10v1aux documentation.
>       * doc/invoke.texi: Ditto.
>       * doc/sourcebuild.texi: Ditto.
> 
> diff --git a/gcc/common/config/i386/i386-common.cc
> b/gcc/common/config/i386/i386-common.cc
> index ed126f4c70dc..2ca4f9a911e8 100644
> --- a/gcc/common/config/i386/i386-common.cc
> +++ b/gcc/common/config/i386/i386-common.cc
> @@ -142,6 +143,8 @@ along with GCC; see the file COPYING3.  If not see
>    (OPTION_MASK_ISA2_AVX10_1_SET | OPTION_MASK_ISA2_AVX10V2AUX)
>  #define OPTION_MASK_ISA2_ACEV1_SET \
>    (OPTION_MASK_ISA2_AVX10V2AUX_SET | OPTION_MASK_ISA2_ACEV1)

You could also set AVX10V1AUX here since we use imply now and ...

> +#define OPTION_MASK_ISA2_AVX10V1AUX_SET \
> +  (OPTION_MASK_ISA2_AVX10_1_SET |
> OPTION_MASK_ISA2_AVX10V1AUX)
> 
> @@ -338,6 +341,9 @@ along with GCC; see the file COPYING3.  If not see
>  #define OPTION_MASK_ISA2_AVX10V2AUX_UNSET \
>    (OPTION_MASK_ISA2_AVX10V2AUX | OPTION_MASK_ISA2_ACEV1_UNSET)
>  #define OPTION_MASK_ISA2_ACEV1_UNSET OPTION_MASK_ISA2_ACEV1
> +#define OPTION_MASK_ISA2_AVX10V1AUX_UNSET \
> +  (OPTION_MASK_ISA2_AVX10V1AUX | OPTION_MASK_ISA2_AVX10_2_UNSET \
> +   | OPTION_MASK_ISA2_ACEV1_UNSET)

... you also unset acev1 for avx10v1aux here.

Thx,
Haochen

Reply via email to