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]

[PATCH] AArch64: Add libc_feholdsetround_noex_aarch64_ctx


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.

Attachment: Add-libc_feholdsetround_noex_aarch64_ctx.txt
Description: Text document


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