glibc/sysdeps/s390/fpu/math-use-builtins-floor.h
Adhemerval Zanella e80501a5c9 math: Decompose math-use-builtins.h
Each symbol definitions are moved on a separated file and it
cover all symbol type definitions (float, double, long double,
and float128).

It allows to set support for architectures without the boiler
place of copying default values.

Checked with a build on the affected ABIs.
2020-06-22 11:09:45 -03:00

16 lines
377 B
C

#ifdef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
# define USE_FLOOR_BUILTIN 1
# define USE_FLOORF_BUILTIN 1
# define USE_FLOORL_BUILTIN 1
# if __GNUC_PREREQ (8, 0)
# define USE_FLOORF128_BUILTIN 1
# else
# define USE_FLOORF128_BUILTIN 0
# endif
#else
# define USE_FLOOR_BUILTIN 0
# define USE_FLOORF_BUILTIN 0
# define USE_FLOORL_BUILTIN 0
# define USE_FLOORF128_BUILTIN 0
#endif