rs6000/test: Adjust scalar-test-data-class-1[45].c with int128
Checks
Commit Message
Hi,
Test cases scalar-test-data-class-1[45].c adopts type __int128
which requires to check int128 effective target, otherwise the
testing on them will fail at -m32. This patch is to add int128
effective target requirement.
Tested on powerpc64-linux-gnu P7/P8/P9 and
powerpc64le-linux-gnu P9/P10.
I'm going to push this soon if no objections.
BR,
Kewen
-----
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/bfp/scalar-test-data-class-14.c: Adjust with
int128 effective target requirement.
* gcc.target/powerpc/bfp/scalar-test-data-class-15.c: Likewise.
---
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c | 1 +
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c | 1 +
2 files changed, 2 insertions(+)
--
2.39.2
@@ -1,4 +1,5 @@
/* { dg-do run { target { powerpc*-*-* } } } */
+/* { dg-require-effective-target int128 } */
/* { dg-require-effective-target p9vector_hw } */
/* { dg-options "-mdejagnu-cpu=power9" } */
@@ -1,4 +1,5 @@
/* { dg-do run { target { powerpc*-*-* } } } */
+/* { dg-require-effective-target int128 } */
/* { dg-require-effective-target p9vector_hw } */
/* { dg-options "-mdejagnu-cpu=power9" } */