[PATCH 12/13] AArch64: Cleanup fenv implementation

Marcus Shawcroft marcus.shawcroft@gmail.com
Thu Dec 18 16:28:00 GMT 2014


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



More information about the Libc-alpha mailing list