This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Fix PR target/80246, DFP builtins using the wrong types
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Date: Sun, 02 Apr 2017 09:21:15 +0200
- Subject: Re: [PATCH, rs6000] Fix PR target/80246, DFP builtins using the wrong types
- Authentication-results: sourceware.org; auth=none
- References: <d8d3f838-e962-3c9c-146d-0abc256b8235@vnet.ibm.com> <20170329222858.GZ4402@gate.crashing.org> <530c97bd-1669-dd67-528e-3f879efa8bac@vnet.ibm.com> <cb494b8c-cfbc-c481-72c2-a71570b5f2c6@vnet.ibm.com>
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."