2011-10-17 00:58:17 +00:00
|
|
|
ifeq ($(subdir),math)
|
|
|
|
libm-sysdep_routines += s_floor-c s_ceil-c s_floorf-c s_ceilf-c \
|
2011-10-18 13:13:23 +00:00
|
|
|
s_rint-c s_rintf-c s_nearbyint-c s_nearbyintf-c
|
2011-10-25 00:19:17 +00:00
|
|
|
|
|
|
|
libm-sysdep_routines += e_exp-fma4 e_log-fma4 e_pow-fma4 s_atan-fma4 \
|
|
|
|
e_asin-fma4 e_atan2-fma4 s_sin-fma4 s_tan-fma4 \
|
|
|
|
mplog-fma4 mpa-fma4 slowexp-fma4 slowpow-fma4 \
|
|
|
|
sincos32-fma4 doasin-fma4 dosincos-fma4 \
|
2012-03-16 15:07:57 +00:00
|
|
|
halfulp-fma4 mpexp-fma4 \
|
2011-10-25 00:19:17 +00:00
|
|
|
mpatan2-fma4 mpatan-fma4 mpsqrt-fma4 mptan-fma4
|
|
|
|
|
|
|
|
CFLAGS-doasin-fma4.c = -mfma4
|
|
|
|
CFLAGS-dosincos-fma4.c = -mfma4
|
|
|
|
CFLAGS-e_asin-fma4.c = -mfma4
|
|
|
|
CFLAGS-e_atan2-fma4.c = -mfma4
|
|
|
|
CFLAGS-e_exp-fma4.c = -mfma4
|
|
|
|
CFLAGS-e_log-fma4.c = -mfma4
|
2015-09-24 16:48:32 +00:00
|
|
|
CFLAGS-e_pow-fma4.c = -mfma4 $(config-cflags-nofma)
|
2011-10-25 00:19:17 +00:00
|
|
|
CFLAGS-halfulp-fma4.c = -mfma4
|
|
|
|
CFLAGS-mpa-fma4.c = -mfma4
|
|
|
|
CFLAGS-mpatan-fma4.c = -mfma4
|
|
|
|
CFLAGS-mpatan2-fma4.c = -mfma4
|
|
|
|
CFLAGS-mpexp-fma4.c = -mfma4
|
|
|
|
CFLAGS-mplog-fma4.c = -mfma4
|
|
|
|
CFLAGS-mpsqrt-fma4.c = -mfma4
|
|
|
|
CFLAGS-mptan-fma4.c = -mfma4
|
|
|
|
CFLAGS-s_atan-fma4.c = -mfma4
|
|
|
|
CFLAGS-sincos32-fma4.c = -mfma4
|
|
|
|
CFLAGS-slowexp-fma4.c = -mfma4
|
|
|
|
CFLAGS-slowpow-fma4.c = -mfma4
|
2011-10-26 01:34:55 +00:00
|
|
|
CFLAGS-s_sin-fma4.c = -mfma4
|
|
|
|
CFLAGS-s_tan-fma4.c = -mfma4
|
|
|
|
|
|
|
|
libm-sysdep_routines += e_exp-avx e_log-avx s_atan-avx \
|
2011-10-28 20:55:01 +00:00
|
|
|
e_atan2-avx s_sin-avx s_tan-avx \
|
2011-10-26 01:34:55 +00:00
|
|
|
mplog-avx mpa-avx slowexp-avx \
|
2011-10-28 20:55:01 +00:00
|
|
|
mpexp-avx
|
2011-10-26 01:34:55 +00:00
|
|
|
|
2012-01-28 19:48:46 +00:00
|
|
|
CFLAGS-e_atan2-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-e_exp-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-e_log-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-mpa-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-mpexp-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-mplog-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-s_atan-avx.c = -msse2avx -DSSE2AVX
|
|
|
|
CFLAGS-s_sin-avx.c = -msse2avx -DSSE2AVX
|
2012-01-30 19:55:15 +00:00
|
|
|
CFLAGS-slowexp-avx.c = -msse2avx -DSSE2AVX
|
2012-01-28 19:48:46 +00:00
|
|
|
CFLAGS-s_tan-avx.c = -msse2avx -DSSE2AVX
|
2011-10-25 00:19:17 +00:00
|
|
|
endif
|
2015-06-09 11:25:49 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),mathvec)
|
|
|
|
libmvec-sysdep_routines += svml_d_cos2_core_sse4 svml_d_cos4_core_avx2 \
|
2015-06-11 14:12:38 +00:00
|
|
|
svml_d_cos8_core_avx512 svml_d_sin2_core_sse4 \
|
|
|
|
svml_d_sin4_core_avx2 svml_d_sin8_core_avx512 \
|
2015-06-17 12:38:29 +00:00
|
|
|
svml_d_log2_core_sse4 svml_d_log4_core_avx2 \
|
2015-06-18 14:55:55 +00:00
|
|
|
svml_d_log8_core_avx512 svml_d_sincos2_core_sse4 \
|
|
|
|
svml_d_sincos4_core_avx2 svml_d_sincos8_core_avx512 \
|
2015-06-11 14:12:38 +00:00
|
|
|
svml_s_cosf4_core_sse4 svml_s_cosf8_core_avx2 \
|
2015-06-15 12:06:53 +00:00
|
|
|
svml_s_cosf16_core_avx512 svml_s_sinf4_core_sse4 \
|
2015-06-17 12:53:00 +00:00
|
|
|
svml_s_sinf8_core_avx2 svml_s_sinf16_core_avx512 \
|
|
|
|
svml_s_logf4_core_sse4 svml_s_logf8_core_avx2 \
|
2015-06-17 12:58:05 +00:00
|
|
|
svml_s_logf16_core_avx512 svml_d_exp2_core_sse4 \
|
2015-06-17 13:10:51 +00:00
|
|
|
svml_d_exp4_core_avx2 svml_d_exp8_core_avx512 \
|
|
|
|
svml_s_expf4_core_sse4 svml_s_expf8_core_avx2 \
|
2015-06-17 13:22:26 +00:00
|
|
|
svml_s_expf16_core_avx512 svml_d_pow2_core_sse4 \
|
2015-06-18 14:04:07 +00:00
|
|
|
svml_d_pow4_core_avx2 svml_d_pow8_core_avx512 \
|
|
|
|
svml_s_powf4_core_sse4 svml_s_powf8_core_avx2 \
|
2015-06-18 17:11:27 +00:00
|
|
|
svml_s_powf16_core_avx512 svml_s_sincosf4_core_sse4 \
|
|
|
|
svml_s_sincosf8_core_avx2 svml_s_sincosf16_core_avx512
|
2015-06-09 11:25:49 +00:00
|
|
|
endif
|