diff mbox series

rs6000/test: Adjust scalar-test-data-class-1[45].c with int128

Message ID 4218a26e-d277-01b7-a7cd-a9d2f7cc6ba8@linux.ibm.com
State New
Headers show
Series rs6000/test: Adjust scalar-test-data-class-1[45].c with int128 | expand

Commit Message

Kewen.Lin March 1, 2023, 5:56 a.m. UTC
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
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c
index 84c610de5de..5c3e07c8108 100644
--- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c
+++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c
@@ -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" } */

diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c
index a8b5a34ba8a..2be5d1b18b6 100644
--- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c
+++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c
@@ -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" } */