testsuite: sldoi requires VSX.

gcc/testsuite/ChangeLog:

	* gcc.target/powerpc/sldoi_to_mov.c: Require VSX.
This commit is contained in:
David Edelsohn 2022-01-19 12:40:23 -05:00
parent fe1ad14165
commit 64655e7bdb

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2" } */ /* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-O2 -mvsx" } */
#include <altivec.h> #include <altivec.h>
vector signed int foo1 (vector signed int a) { vector signed int foo1 (vector signed int a) {