[PATCH] aarch64: fabs and sqrt implementation with inline asm
Szabolcs Nagy
szabolcs.nagy@arm.com
Fri May 22 18:51:00 GMT 2015
the c code for fabs and sqrt are inefficient and aarch64
always has the single instructions available for them.
(this fix is useful when c code is compiled with -fno-builtin
like newlib itself).
2015-05-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
* libm/machine/aarch64/e_sqrt.c: New file.
* libm/machine/aarch64/ef_sqrt.c: New file.
* libm/machine/aarch64/s_fabs.c: New file.
* libm/machine/aarch64/sf_fabs.c: New file.
* libm/machine/aarch64/Makefile.in: Add new source files.
* libm/machine/aarch64/Makefile.am: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libm.diff
Type: text/x-patch
Size: 12880 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150522/8e711de9/attachment.bin>
More information about the Newlib
mailing list