glibc/sysdeps/s390/fpu/math-use-builtins-round.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_ROUND_BUILTIN 1
# define USE_ROUNDF_BUILTIN 1
# define USE_ROUNDL_BUILTIN 1
# if __GNUC_PREREQ (8, 0)
# define USE_ROUNDF128_BUILTIN 1
# else
# define USE_ROUNDF128_BUILTIN 0
# endif
#else
# define USE_ROUND_BUILTIN 0
# define USE_ROUNDF_BUILTIN 0
# define USE_ROUNDL_BUILTIN 0
# define USE_ROUNDF128_BUILTIN 0
#endif