This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] AArch64: Add libc_feholdsetround_noex_aarch64_ctx


On 11 June 2014 15:59, Wilco <wdijkstr@arm.com> wrote:
> Hi,
>
> This patch adds new function libc_feholdsetround_noex_aarch64_ctx, enabling
> further optimization. libc_feholdsetround_aarch64_ctx now only needs to
> read the FPCR in the typical case, avoiding a redundant FPSR read.
> Performance results show a good improvement (5-10% on sin()) on cores with
> expensive FPCR/FPSR instructions.
>
> OK for commit?

This looks ok to me.

> Wilco
>
> ChangeLog:
> 2014-06-11  Wilco  <wdijkstr@arm.com>
>
>         * sysdeps/aarch64/fpu/math_private.h
>         (libc_feholdsetround_noex_aarch64_ctx): New function.



-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]