summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
blob: 3d0c1650cf9446bc20e0a30e4235ca2bfccf4265 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <sparc-ifunc.h>
#include <math.h>
#include <math_ldbl_opt.h>

extern double __fma_vis3 (double, double, double);
extern double __fma_generic (double, double, double);

sparc_libm_ifunc(__fma, hwcap & HWCAP_SPARC_FMAF ? __fma_vis3 : __fma_generic);
weak_alias (__fma, fma)
#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)
compat_symbol (libm, __fma, fmal, GLIBC_2_1);
#endif