[PATCH] AArch64: Add libc_feholdsetround_noex_aarch64_ctx
Wilco
wdijkstr@arm.com
Wed Jun 11 14:59:00 GMT 2014
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?
Wilco
ChangeLog:
2014-06-11 Wilco <wdijkstr@arm.com>
* sysdeps/aarch64/fpu/math_private.h
(libc_feholdsetround_noex_aarch64_ctx): New function.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Add-libc_feholdsetround_noex_aarch64_ctx.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140611/a5d9865d/attachment.txt>
More information about the Libc-alpha
mailing list