add -mfloat128 to __float128-using test missing it
Iain Sandoe
idsandoe@googlemail.com
Thu Mar 11 09:16:06 GMT 2021
Alexandre Oliva <oliva@adacore.com> wrote:
> On Mar 10, 2021, Alexandre Oliva <oliva@adacore.com> wrote:
>
>> * gcc.target/powerpc/prefix-ds-dq.c: Enable __float128.
>
> I've been reminded that this is not enough for the scan-assembler tests
> to pass, at least in our configurations. Nearly all of the asm
> expectations are unmet. I'm yet to identify the root cause.
I have the following patch that I was intending to apply/post later (since
the test makes unconditional use of __float128 which is not available on
all platforms).
does this solve your issue?
Iain
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/prefix-ds-dq.c: Require float128 support.
diff --git a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
index 554cd0c..7ab7201 100644
--- a/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
+++ b/gcc/testsuite/gcc.target/powerpc/prefix-ds-dq.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_prefixed_addr } */
+/* { dg-require-effective-target ppc_float128_sw } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
More information about the Gcc-patches
mailing list