1ifeq ($(subdir),math) 2# These functions are built both for libc and libm because they're required 3# by printf. While the libc objects have the prefix s_, the libm ones are 4# prefixed with m_. 5sysdep_calls := s_signbitf-vis3 s_signbit-vis3 s_signbitf-generic \ 6 s_signbit-generic s_finitef-vis3 s_finite-vis3 \ 7 s_finitef-generic s_finite-generic \ 8 s_isinff-vis3 s_isinf-vis3 s_isinff-generic s_isinf-generic \ 9 s_isnanf-vis3 s_isnan-vis3 s_isnanf-generic s_isnan-generic 10 11sysdep_routines += $(sysdep_calls) 12libm-sysdep_routines += s_lrintf-vis3 s_lrint-vis3 s_lrintf-generic \ 13 s_lrint-generic s_rintf-vis3 s_rint-vis3 \ 14 s_rintf-generic s_rint-generic \ 15 s_fmaf-vis3 s_fma-vis3 s_fmaf-generic s_fma-generic \ 16 s_nearbyint-vis3 s_nearbyintf-vis3 \ 17 s_nearbyint-generic s_nearbyintf-generic \ 18 s_ceilf-vis3 s_ceil-vis3 s_ceilf-generic \ 19 s_ceil-generic s_floorf-vis3 s_floor-vis3 \ 20 s_floorf-generic s_floor-generic s_truncf-vis3 \ 21 s_trunc-vis3 s_truncf-generic s_trunc-generic \ 22 $(sysdep_calls:s_%=m_%) 23 24CFLAGS-s_ceilf-vis3.c += -Wa,-Av9d -mvis3 25CFLAGS-s_ceil-vis3.c += -Wa,-Av9d -mvis3 26CFLAGS-s_floorf-vis3.c += -Wa,-Av9d -mvis3 27CFLAGS-s_floor-vis3.c += -Wa,-Av9d -mvis3 28CFLAGS-s_truncf-vis3.c += -Wa,-Av9d -mvis3 29CFLAGS-s_trunc-vis3.c += -Wa,-Av9d -mvis3 30endif 31