This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 12/13] AArch64: Cleanup fenv implementation
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Wilco Dijkstra <wdijkstr at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 18 Dec 2014 16:27:59 +0000
- Subject: Re: [PATCH 12/13] AArch64: Cleanup fenv implementation
- Authentication-results: sourceware.org; auth=none
- References: <001601cfeee7$da6bd5f0$8f4381d0$ at com>
On 23 October 2014 at 18:36, Wilco Dijkstra <wdijkstr@arm.com> wrote:
> Improve fesetenv performance by avoiding unnecessary FPSR/FPCR reads/writes.
> It uses the same logic as the ARM version. The common case removes 1 FPSR
> and 1 FPCR read. For FE_DFL_ENV and FE_NOMASK_ENV a FPCR read is avoided in
> case the FPCR does not change.
>
> ChangeLog:
> 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
>
> * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
> Optimize to reduce FPCR/FPSR accesses.
OK .Marcus