[PATCH] PowerPC: Restrict long double test to use IBM long double.

Segher Boessenkool segher@kernel.crashing.org
Wed Nov 18 19:27:12 GMT 2020


Hi!

On Sun, Nov 15, 2020 at 12:23:50PM -0500, Michael Meissner wrote:
> --- a/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c
> +++ b/gcc/testsuite/c-c++-common/dfp/convert-bfp-11.c
> @@ -1,4 +1,5 @@
>  /* { dg-skip-if "" { ! "powerpc*-*-linux*" } } */
> +/* { dg-require-effective-target ppc_long_double_ibm } */

You can remove the dg-skip-if then (there is nothing in this test that
requires Linux).  But you want a
/* { dg-require-effective-target dfp } */
(or dfprt).

So what happens if you use IEEE QP float, instead?  You didn't explain.
(Explain in the source code, with a comment where you require it!)


Segher


More information about the Gcc-patches mailing list