mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 10:50: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
366 B
C
15 lines
366 B
C
#ifdef HAVE_AS_VIS3_SUPPORT
|
|
# include <sparc-ifunc.h>
|
|
# include <math.h>
|
|
|
|
extern float __fmaf_vis3 (float, float, float);
|
|
extern float __fmaf_generic (float, float, float);
|
|
|
|
sparc_libm_ifunc(__fmaf, hwcap & HWCAP_SPARC_FMAF ? __fmaf_vis3 : __fmaf_generic);
|
|
weak_alias (__fmaf, fmaf)
|
|
|
|
# define __fmaf __fmaf_generic
|
|
#endif
|
|
|
|
#include <sysdeps/ieee754/dbl-64/s_fmaf.c>
|