[PATCH] aarch64: fabs and sqrt implementation with inline asm

Corinna Vinschen vinschen@redhat.com
Mon Jun 1 10:22:00 GMT 2015


On May 20 15:46, Szabolcs Nagy wrote:
> 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  <...>
> 
> 	* 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.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150601/59084748/attachment.sig>


More information about the Newlib mailing list