public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6541] testsuite: Adjust scalar-test-neg-8.c with lp64 [PR108730]
@ 2023-03-08 6:59 Kewen Lin
0 siblings, 0 replies; only message in thread
From: Kewen Lin @ 2023-03-08 6:59 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9fd3d3567396e63cf5dde96ef03fcc92c6bcec71
commit r13-6541-g9fd3d3567396e63cf5dde96ef03fcc92c6bcec71
Author: Kewen Lin <linkw@linux.ibm.com>
Date: Wed Mar 8 00:56:32 2023 -0600
testsuite: Adjust scalar-test-neg-8.c with lp64 [PR108730]
The built-in function scalar_test_neg_qp is under stanza
ieee128-hw, that is TARGET_FLOAT128_HW. Since we don't
have float128 hardware support on 32-bit as follows:
if (TARGET_FLOAT128_HW && !TARGET_64BIT)
{
if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0)
error ("%qs requires %qs", "%<-mfloat128-hardware%>", "-m64");
rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW;
}
So adjust the case with lp64 effective target accordingly.
PR testsuite/108730
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/bfp/scalar-test-neg-8.c: Adjust with lp64
effective target requirement.
Diff:
---
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c
index 02dfa348b81..2ef512cd8d0 100644
--- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c
+++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c
@@ -1,4 +1,5 @@
/* { dg-do run { target { powerpc*-*-* } } } */
+/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target p9vector_hw } */
/* { dg-options "-mdejagnu-cpu=power9" } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-08 6:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 6:59 [gcc r13-6541] testsuite: Adjust scalar-test-neg-8.c with lp64 [PR108730] Kewen Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).