| 1 | #define NO_MATH_REDIRECT |
| 2 | #include <sparc-ifunc.h> |
| 3 | #define dfmal __hide_dfmal |
| 4 | #define f32xfmaf64 __hide_f32xfmaf64 |
| 5 | #include <math.h> |
| 6 | #undef dfmal |
| 7 | #undef f32xfmaf64 |
| 8 | #include <math_ldbl_opt.h> |
| 9 | #include <libm-alias-double.h> |
| 10 | #include <math-narrow-alias.h> |
| 11 | |
| 12 | extern double __fma_vis3 (double, double, double); |
| 13 | extern double __fma_generic (double, double, double); |
| 14 | |
| 15 | sparc_libm_ifunc(__fma, hwcap & HWCAP_SPARC_FMAF ? __fma_vis3 : __fma_generic); |
| 16 | libm_alias_double (__fma, fma) |
| 17 | libm_alias_double_narrow (__fma, fma) |