Hi!

On Tue, Jul 21, 2020 at 05:54:27AM -0500, Xiong Hu Luo wrote:
> --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p7.c
> +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-short.p7.c
> @@ -3,7 +3,7 @@
>  
>  /* { dg-do compile { target { powerpc*-*-linux* } } } */
>  /* { dg-require-effective-target powerpc_vsx_ok } */
> -/* { dg-options "-mdejagnu-cpu=power7 -O2" } */
> +/* { dg-options "-mdejagnu-cpu=power7 -O2 -mbig" } */

-mbig and friends do not exist on all powerpc configurations, but since
this testcases requires *-*-linux anyway, it will work.  But we should
probably have a selector for this, or alternatively, allow the option
always (the target cannot run the resulting code, but we have many other
options like that, starting with -mcpu=).  David, what is your
preference?

The rs6000 parts of this patch are fine for trunk.  Thanks!


Segher

Reply via email to