On Tue, Aug 18, 2026 at 9:20 AM H.J. Lu <[email protected]> wrote: > > pr82625.C has > > __attribute__ ((target ("default"))) > unsigned bar() { > ... > } > > and > > __attribute__ ((target ("avx"))) > > unsigned bar() { > ... > } > > GCC generates different assembly codes on AVX512 machines when GCC is > configured with > > --with-arch=native --with-cpu=native > > Compile pr82625.C with -march=x86-64 so that only AVX will be enabled by > target attribute. > > PR testsuite/126923 > * g++.target/i386/pr82625.C (dg-options): Add -march=x86-64. >
Ok. > -- > H.J. -- BR, Hongtao
