This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] AArch64: Add libc_feholdsetround_noex_aarch64_ctx
- From: Will Newton <will dot newton at linaro dot org>
- To: Wilco <wdijkstr at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 23 Jul 2014 16:54:35 +0100
- Subject: Re: [PATCH] AArch64: Add libc_feholdsetround_noex_aarch64_ctx
- Authentication-results: sourceware.org; auth=none
- References: <004301cf8585$c6248360$526d8a20$ at com>
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