mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-07 10:00:07 +00:00
e6a62e18fd
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf sysdep routines. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15 lines
364 B
C
15 lines
364 B
C
#ifdef HAVE_AS_VIS3_SUPPORT
|
|
# include <sparc-ifunc.h>
|
|
# include <math.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)
|
|
|
|
# define __fma __fma_generic
|
|
#endif
|
|
|
|
#include <sysdeps/ieee754/dbl-64/s_fma.c>
|