On Mon, 26 May 2025 at 18:14, Christophe Lyon <christophe.l...@linaro.org> wrote: > > Remove #pragma GCC target ("arch=armv8.2-a+bf16") and preceding > target and is thus useless. I guess this should read: Remove #pragma GCC target ("arch=armv8.2-a+bf16") since it matches the preceding pragma GCC target and is thus useless.
Sorry for the typo, Christophe > > gcc/ChangeLog: > > * config/arm/arm_neon.h: Remove useless push/pop pragmas. > --- > gcc/config/arm/arm_neon.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/gcc/config/arm/arm_neon.h b/gcc/config/arm/arm_neon.h > index cba50de0720..105385f7f5d 100644 > --- a/gcc/config/arm/arm_neon.h > +++ b/gcc/config/arm/arm_neon.h > @@ -20938,11 +20938,6 @@ vbfdotq_lane_f32 (float32x4_t __r, bfloat16x8_t __a, > bfloat16x4_t __b, > return __builtin_neon_vbfdot_lanev4bfv4sf (__r, __a, __b, __index); > } > > -#pragma GCC pop_options > - > -#pragma GCC push_options > -#pragma GCC target ("arch=armv8.2-a+bf16") > - > typedef struct bfloat16x4x2_t > { > bfloat16x4_t val[2]; > -- > 2.34.1 >