acadia-newlib/newlib/libc/include/machine
Szabolcs Nagy e5791079c6 New log implementation
The new implementations are provided under !__OBSOLETE_MATH, it uses
ISO C99 code.  With default settings the worst case error in nearest
rounding mode is 0.519 ULP with inlined fma and fma contraction.  It uses
a 2 KB lookup table, on aarch64 .text+.rodata size of libm.a is increased
by 1703 bytes.  The w_log.c wrapper is disabled since error handling is
inline in the new code.

New __HAVE_FAST_FMA and __HAVE_FAST_FMA_DEFAULT feature macros were
added to enable selecting between the code path that uses fma and the
one that does not.  Targets supposed to set __HAVE_FAST_FMA_DEFAULT
if they have single instruction fma and the compiler can actually
inline it (gcc has __FP_FAST_FMA macro but that does not guarantee
inlining with -fno-builtin-fma).

Improvements on Cortex-A72:
latency: 1.9x
thruput: 2.3x
2018-06-27 15:40:49 +02:00
..
_arc4random.h Add arc4random() etc. from OpenBSD 5.8 2016-03-18 12:33:41 +01:00
_default_types.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +02:00
_endian.h BSD compatibility for <machine/endian.h> 2016-04-19 16:36:51 +02:00
_time.h Move kernel dependent parts of <sys/time.h> 2016-04-08 11:34:42 +02:00
_types.h 2007-09-07 Patrick Mansfield <patmans@us.ibm.com> 2007-09-07 21:16:25 +00:00
ansi.h 2001-03-02 Jeff Johnston <jjohnstn@redhat.com> 2001-03-02 23:13:04 +00:00
endian.h BSD compatibility for <machine/endian.h> 2016-04-19 16:36:51 +02:00
fastmath.h ansification: remove _HAVE_STDC 2018-01-17 11:47:30 -06:00
ieeefp.h New log implementation 2018-06-27 15:40:49 +02:00
malloc.h 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
param.h 2004-05-07 Jeff Johnston <jjohnstn@redhat.com> 2004-05-07 20:39:57 +00:00
setjmp-dj.h 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:26:39 +00:00
setjmp.h RISC-V: Fix alignment issue in sigjmp_buf 2018-01-18 09:21:10 +01:00
stdlib.h 2002-04-19 Jeff Johnston <jjohnstn@redhat.com> 2002-04-19 19:16:22 +00:00
termios.h 2002-05-28 Jeff Johnston <jjohnstn@redhat.com> 2002-05-28 22:26:36 +00:00
time.h Add RISC-V port for newlib 2017-08-16 18:00:58 -04:00
types.h Resurrect <machine/types.h> for <sys/types.h> 2016-04-21 10:08:19 +02:00