glibc/sysdeps/s390/fpu/math-use-builtins-trunc.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_TRUNC_BUILTIN 1
# define USE_TRUNCF_BUILTIN 1
# define USE_TRUNCL_BUILTIN 1
# if __GNUC_PREREQ (8, 0)
# define USE_TRUNCF128_BUILTIN 1
# else
# define USE_TRUNCF128_BUILTIN 0
# endif
#else
# define USE_TRUNC_BUILTIN 0
# define USE_TRUNCF_BUILTIN 0
# define USE_TRUNCL_BUILTIN 0
# define USE_TRUNCF128_BUILTIN 0
#endif