This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCHv3, testsuite] Enable some existing __float128 tests for powerpc
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Segher Boessenkool <segher at kernel dot crashing dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Fri, 1 Jul 2016 16:00:20 -0400
- Subject: Re: [PATCHv3, testsuite] Enable some existing __float128 tests for powerpc
- Authentication-results: sourceware.org; auth=none
- References: <c802cc18-02da-023f-c8fe-663dcb6707e7 at linux dot vnet dot ibm dot com>
On Fri, Jul 1, 2016 at 3:39 PM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> This changes my previous patch to use a separate base_quadfloat_support
> effective target that can be used in conjunction with either the float128
> or __float128 effective targets, and modifies the tests accordingly.
> I dropped adding support for float128-exact-underflow.c for now; that can
> be addressed later if desired.
>
> Tested on powerpc64[le]-unknown-linux-gnu. Is this ok for trunk, and
> eventual backport to gcc-6-branch?
>
> Thanks,
> Bill
>
>
> 2016-07-01 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
>
> * gcc.dg/const-float128-ped.c: Require __float128 effective
> target, and specify additional options for powerpc*-*-*.
> * gcc.dg/const-float128.c: Likewise.
> * gcc.dg/torture/float128-cmp-invalid.c: Require
> __float128 and base_quadfloat_support effective targets, and
> specify additional options for powerpc*-*-*.
> * gcc.dg/torture/float128-div-underflow.c: Likewise.
> * gcc.dg/torture/float128-extend-nan.c: Require
> __float128 and base-quadfloat_support effective targets, and
> specify additional options for powerpc*-*-*.
> * gcc.dg/torture/float128-nan.c: Likewise.
> * gcc.dg/torture/fp-int-convert-float128-timode-2.c: Likewise.
> * gcc.dg/torture/fp-int-convert-float128-timode-3.c: Likewise.
> * gcc.dg/torture/fp-int-convert-float128-timode.c: Likewise.
> * lib/target-supports.exp (check_effective_target___float128):
> New.
> (check_effective_target_base_quadword_support): New.
This is okay with the dg-add-options change that Joseph recommends.
Thanks, David