[PATCH] ARM: Avoid unnecessary FPSCR writes
Wilco
wdijkstr@arm.com
Fri May 23 17:35:00 GMT 2014
Hi,
This patch speeds up the ARM fenv implementation by avoiding unnecessary FPSCR writes if the FPSCR
remains unchanged.
OK for commit?
Wilco
ChangeLog:
2014-05-23 Wilco <wdijkstr@arm.com>
* sysdeps/arm/fclrexcpt.c (feclearexcept):
Optimize to avoid unnecessary FPSCR writes.
* sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
* sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
* sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
* sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Avoid-FPSCR-writes.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140523/19c89917/attachment.txt>
More information about the Libc-alpha
mailing list