This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] Fix PR target/80246, DFP builtins using the wrong types


On Mär 30 2017, Peter Bergner <bergner@vnet.ibm.com> wrote:

> Index: gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c
> ===================================================================
> --- gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c	(revision 246539)
> +++ gcc/testsuite/gcc.target/powerpc/dfp-builtin-1.c	(working copy)
> @@ -1,6 +1,4 @@
>  /* { dg-do compile { target { powerpc*-*-linux* } } } */
> -/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
> -/* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */
>  /* { dg-require-effective-target powerpc_vsx_ok } */
>  /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } } */
>  /* { dg-options "-mcpu=power7 -O2" } */
> @@ -10,11 +8,13 @@
>  /* { dg-final { scan-assembler-times "diex "   1    } } */
>  /* { dg-final { scan-assembler-times "dscli "  2    } } */
>  /* { dg-final { scan-assembler-times "dscri "  2    } } */
> +/* { dg-final { scan-assembler-times "std "    1    } } */
> +/* { dg-final { scan-assembler-times "ld "     1    } } */

Fails with -m32.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]