This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3][AArch64] Add more choices for the reciprocal square root approximation
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Evandro Menezes <e dot menezes at samsung dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>, Andrew Pinski <pinskia at gmail dot com>, "philipp dot tomsich at theobroma-systems dot com" <philipp dot tomsich at theobroma-systems dot com>, Benedikt Huber <benedikt dot huber at theobroma-systems dot com>, <nd at arm dot com>
- Date: Mon, 13 Jun 2016 11:00:31 +0100
- Subject: Re: [PATCH 1/3][AArch64] Add more choices for the reciprocal square root approximation
- Authentication-results: sourceware.org; auth=none
- Nodisclaimer: True
- References: <57212B7D dot 9000807 at samsung dot com> <20160525101553 dot GB9511 at arm dot com> <5748D0D3 dot 2000001 at samsung dot com> <20160601083505 dot GA5853 at arm dot com> <5751FB88 dot 4050906 at samsung dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Fri, Jun 03, 2016 at 04:50:00PM -0500, Evandro Menezes wrote:
> From 763562f829d4fec54d21555b2bfd6478d449294f Mon Sep 17 00:00:00 2001
> From: Evandro Menezes <e.menezes@samsung.com>
> Date: Thu, 3 Mar 2016 18:13:46 -0600
> Subject: [PATCH 1/3] [AArch64] Add more choices for the reciprocal square root
> approximation
>
> Allow a target to prefer such operation depending on the operation mode.
This is OK for trunk.
Thanks for the patch, and your work getting it ready for trunk.
Thanks,
James
>
> 2016-03-03 Evandro Menezes <e.menezes@samsung.com>
>
> gcc/
> * config/aarch64/aarch64-protos.h
> (AARCH64_APPROX_MODE): New macro.
> (AARCH64_APPROX_{NONE,ALL}): Likewise.
> (cpu_approx_modes): New structure.
> (tune_params): New member "approx_modes".
> * config/aarch64/aarch64-tuning-flags.def
> (AARCH64_EXTRA_TUNE_APPROX_RSQRT): Remove macro.
> * config/aarch64/aarch64.c
> ({generic,exynosm1,xgene1}_approx_modes): New core
> "cpu_approx_modes" structures.
> (generic_tunings): New member "approx_modes".
> (cortexa35_tunings): Likewise.
> (cortexa53_tunings): Likewise.
> (cortexa57_tunings): Likewise.
> (cortexa72_tunings): Likewise.
> (exynosm1_tunings): Likewise.
> (thunderx_tunings): Likewise.
> (xgene1_tunings): Likewise.
> (use_rsqrt_p): New argument for the mode and use new member from
> "tune_params".
> (aarch64_builtin_reciprocal): Devise mode from builtin.
> (aarch64_optab_supported_p): New argument for the mode.
> * doc/invoke.texi (-mlow-precision-recip-sqrt): Reword description.