mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
MIPSr6 has MADDF.s/MADDF.d instructions, which are fused. In MIPS ISA, double support can be subsetted. Only FMAF is enabled for this case. * sysdeps/mips/fpu/math-use-builtins-fma.h Signed-off-by: YunQiang Su <syq@gcc.gnu.org> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
13 lines
276 B
C
13 lines
276 B
C
#if __mips_isa_rev >= 6
|
|
# ifdef __mips_single_float
|
|
# define USE_FMA_BUILTIN 0
|
|
# else
|
|
# define USE_FMA_BUILTIN 1
|
|
# endif
|
|
# define USE_FMAF_BUILTIN 1
|
|
#else
|
|
# define USE_FMA_BUILTIN 0
|
|
# define USE_FMAF_BUILTIN 0
|
|
#endif
|
|
#define USE_FMAL_BUILTIN 0
|
|
#define USE_FMAF128_BUILTIN 0
|