mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
libm: Detect fast fmaf support
Anything with fast FMA is assumed to have fast FMAF, along with 32-bit arms that advertise 32-bit FP support and __ARM_FEATURE_FMA Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
7e690708b4
commit
bf65b24d00
@ -79,6 +79,14 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FAST_FMAF
|
||||
# if HAVE_FAST_FMA || (__ARM_FEATURE_FMA && (__ARM_FP & 4))
|
||||
# define HAVE_FAST_FMAF 1
|
||||
# else
|
||||
# define HAVE_FAST_FMAF 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if HAVE_FAST_ROUND
|
||||
/* When set, the roundtoint and converttoint functions are provided with
|
||||
the semantics documented below. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user