Re: [PATCH] ppc: testsuite: test for arch_pwr7 with -mvsx in fold-vec-insert-double

2022-04-12 Thread Alexandre Oliva via Gcc-patches
On Apr 12, 2022, Segher Boessenkool wrote: > On Mon, Apr 11, 2022 at 08:59:41PM -0300, Alexandre Oliva wrote: >> >> gcc.target/powerpc/fold-vec-insert-double.c is compiled with -mvsx, >> while the expected asm output depends on target has_arch_pwr7, which >> is tested for without -mvsx. >> >> I

Re: [PATCH] ppc: testsuite: test for arch_pwr7 with -mvsx in fold-vec-insert-double

2022-04-12 Thread Segher Boessenkool
On Mon, Apr 11, 2022 at 08:59:41PM -0300, Alexandre Oliva wrote: > > gcc.target/powerpc/fold-vec-insert-double.c is compiled with -mvsx, > while the expected asm output depends on target has_arch_pwr7, which > is tested for without -mvsx. > > In some of our configurations, that have altivec and v

[PATCH] ppc: testsuite: test for arch_pwr7 with -mvsx in fold-vec-insert-double

2022-04-11 Thread Alexandre Oliva via Gcc-patches
gcc.target/powerpc/fold-vec-insert-double.c is compiled with -mvsx, while the expected asm output depends on target has_arch_pwr7, which is tested for without -mvsx. In some of our configurations, that have altivec and vsx disabled by default, the former defines up to _ARCH_PWR7, while the latte