This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][GCC][mid-end] Add generic test for xorsign (x * copysign (1, y))
- From: Richard Biener <rguenther at suse dot de>
- To: Tamar Christina <tamar dot christina at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, nd at arm dot com, law at redhat dot com, ian at airs dot com
- Date: Wed, 23 Aug 2017 12:40:53 +0200 (CEST)
- Subject: Re: [PATCH][GCC][mid-end] Add generic test for xorsign (x * copysign (1, y))
- Authentication-results: sourceware.org; auth=none
- References: <20170822162926.GA24576@arm.com>
On Tue, 22 Aug 2017, Tamar Christina wrote:
> Hi All,
>
> Since XORSIGN is a mid-end transformation I'm adding a generic test
> to check for targets that support it if the transformation has been
> carried out or not in tree.
>
> Regtested on aarch64-none-linux-gnu, arm-none-eabi
> and x86_64-pc-linux-gnu with no regressions
>
> Ok for trunk?
Ok.
Richard.
> gcc/
> 2017-08-22 Tamar Christina <tamar.christina@arm.com>
>
> PR middle-end/19706
> * doc/sourcebuild.texi (Other hardware attributes):
> Document xorsign.
>
>
> gcc/testsuite
> 2017-08-22 Tamar Christina <tamar.christina@arm.com>
>
> PR middle-end/19706
> * gcc.dg/tree-ssa/pr19706.c: New.
> * lib/target-supports.exp (check_effective_target_xorsign): New.
>
>
--
Richard Biener <rguenther@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)