rs6000, update effective target for tests builtins-10*.c and vec_perm-runnable-i128.c

The tests:

  tests builtins-10-runnable.c
  tests builtins-10.c
  vec_perm-runnable-i128.c

use __int128 types that are not supported on all platforms.  Update the
tests to check int128 effective target to avoid unsupported type errors
on unsupported platforms.

gcc/testsuite/ChangeLog:
	* gcc.target/powerpc/builtins-10-runnable.c: Add
	target int128.
	* gcc.target/powerpc/builtins-10.c: Add
	target int128.
	* gcc.target/powerpc/vec_perm-runnable-i128.c: Add
	target int128.
This commit is contained in:
Carl Love 2024-07-12 13:37:36 -05:00 committed by Carl Love
parent f7d01e080a
commit c19237614b
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
/* { dg-do run } */
/* { dg-do run { target int128 } } */
/* { dg-require-effective-target vmx_hw } */
/* { dg-options "-maltivec -O2 " } */

View file

@ -1,4 +1,4 @@
/* { dg-do compile } */
/* { dg-do compile { target int128 } } */
/* { dg-options "-O2 -maltivec" } */
/* { dg-require-effective-target powerpc_altivec } */
/* { dg-final { scan-assembler-times "xxsel" 6 } } */

View file

@ -1,4 +1,4 @@
/* { dg-do run } */
/* { dg-do run { target int128 } } */
/* { dg-require-effective-target vmx_hw } */
/* { dg-options "-maltivec -O2 " } */