This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH][AArch64] Make aarch64_min_divisions_for_recip_mul configurable
- From: "Wilco Dijkstra" <wdijkstr at arm dot com>
- To: "'Andrew Pinski'" <pinskia at gmail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 3 Mar 2015 19:08:24 -0000
- Subject: RE: [PATCH][AArch64] Make aarch64_min_divisions_for_recip_mul configurable
- Authentication-results: sourceware.org; auth=none
- References: <000a01d055dc$bc2bd660$34838320$ at com> <CA+=Sn1nK3RE3fFM7xk0pUkTtbs312BAm=80_UMkVRRKVMk-6zw at mail dot gmail dot com>
> Andrew Pinski wrote:
> On Tue, Mar 3, 2015 at 10:06 AM, Wilco Dijkstra <wdijkstr@arm.com> wrote:
> > This patch makes aarch64_min_divisions_for_recip_mul configurable for float and double. This
> allows
> > CPUs with really fast or multiple dividers to return 3 (or even 4) if that happens to be
> faster
> > overall. No code generation change - bootstrap & regression OK.
>
> Are you planing on doing the optimization where you turn the divide
> into recip est followed by a few steps?
> Because if so then this should be changed to be handle that case too.
No I don't think that will be faster.
Wilco