2 CFLAGS-e_asin-fma.c
= -mfma
-mavx2
3 CFLAGS-e_atan2-fma.c
= -mfma
-mavx2
4 CFLAGS-e_exp-fma.c
= -mfma
-mavx2
5 CFLAGS-e_log-fma.c
= -mfma
-mavx2
6 CFLAGS-e_log2-fma.c
= -mfma
-mavx2
7 CFLAGS-e_pow-fma.c
= -mfma
-mavx2
8 CFLAGS-s_atan-fma.c
= -mfma
-mavx2
9 CFLAGS-s_expm1-fma.c
= -mfma
-mavx2
10 CFLAGS-s_log1p-fma.c
= -mfma
-mavx2
11 CFLAGS-s_sin-fma.c
= -mfma
-mavx2
12 CFLAGS-s_tan-fma.c
= -mfma
-mavx2
13 CFLAGS-s_sincos-fma.c
= -mfma
-mavx2
14 CFLAGS-s_exp10m1f-fma.c
= -mfma
-mavx2
15 CFLAGS-s_exp2m1f-fma.c
= -mfma
-mavx2
17 CFLAGS-e_exp2f-fma.c
= -mfma
-mavx2
18 CFLAGS-e_expf-fma.c
= -mfma
-mavx2
19 CFLAGS-e_log2f-fma.c
= -mfma
-mavx2
20 CFLAGS-e_logf-fma.c
= -mfma
-mavx2
21 CFLAGS-e_powf-fma.c
= -mfma
-mavx2
22 CFLAGS-s_sinf-fma.c
= -mfma
-mavx2
23 CFLAGS-s_cosf-fma.c
= -mfma
-mavx2
24 CFLAGS-s_sincosf-fma.c
= -mfma
-mavx2
26 # Check if ISA level is 3 or above.
27 ifneq (,$(filter $(have-x86-isa-level
),$(x86-isa-level-3-or-above
)))
28 libm-sysdep_routines
+= \
41 # libm-sysdep_routines
43 ifeq (no
,$(have-x86-apx
))
44 libm-sysdep_routines
+= \
54 # libm-sysdep_routines
56 libm-sysdep_routines
+= \
101 # libm-sysdep_routines
102 ifeq ($(have-x86-isa-level
),baseline
)
103 libm-sysdep_routines
+= \
116 # libm-sysdep_routines
120 CFLAGS-e_asin-fma4.c
= -mfma4
121 CFLAGS-e_atan2-fma4.c
= -mfma4
122 CFLAGS-e_exp-fma4.c
= -mfma4
123 CFLAGS-e_log-fma4.c
= -mfma4
124 CFLAGS-e_pow-fma4.c
= -mfma4
125 CFLAGS-s_atan-fma4.c
= -mfma4
126 CFLAGS-s_sin-fma4.c
= -mfma4
127 CFLAGS-s_tan-fma4.c
= -mfma4
128 CFLAGS-s_sincos-fma4.c
= -mfma4
130 CFLAGS-e_atan2-avx.c
= -msse2avx
-DSSE2AVX
131 CFLAGS-e_exp-avx.c
= -msse2avx
-DSSE2AVX
132 CFLAGS-e_log-avx.c
= -msse2avx
-DSSE2AVX
133 CFLAGS-s_atan-avx.c
= -msse2avx
-DSSE2AVX
134 CFLAGS-s_sin-avx.c
= -msse2avx
-DSSE2AVX
135 CFLAGS-s_tan-avx.c
= -msse2avx
-DSSE2AVX
136 CFLAGS-s_sincos-avx.c
= -msse2avx
-DSSE2AVX
139 ifeq ($(subdir
),mathvec
)
140 libmvec-multiarch-double-func-list
= \
147 libmvec-multiarch-float-func-list
= \
155 libmvec-sysdep_routines
+= \
156 $(foreach l
,$(libmvec-multiarch-double-func-list
), \
157 $(addprefix svml_d_
,$(addsuffix $(l
),$(libmvec-funcs
)))) \
158 $(foreach l
,$(libmvec-multiarch-float-func-list
), \
159 $(addprefix svml_s_
,$(addsuffix $(l
),$(libmvec-funcs
))))