Lines Matching refs:cpu_features

42 # define CHECK_GLIBC_IFUNC_CPU_OFF(f, cpu_features, name, len)		\  argument
46 CPU_FEATURE_UNSET (cpu_features, name) \
52 # define CHECK_GLIBC_IFUNC_PREFERRED_OFF(f, cpu_features, name, len) \ argument
56 cpu_features->preferred[index_arch_##name] \
62 # define CHECK_GLIBC_IFUNC_PREFERRED_BOTH(f, cpu_features, name, \ argument
68 cpu_features->preferred[index_arch_##name] &= ~bit_arch_##name; \
70 cpu_features->preferred[index_arch_##name] |= bit_arch_##name; \
76 # define CHECK_GLIBC_IFUNC_PREFERRED_NEED_BOTH(f, cpu_features, name, \ argument
82 cpu_features->preferred[index_arch_##name] &= ~bit_arch_##name; \
83 else if (CPU_FEATURE_USABLE_P (cpu_features, need)) \
84 cpu_features->preferred[index_arch_##name] |= bit_arch_##name; \
110 struct cpu_features *cpu_features = &GLRO(dl_x86_cpu_features); in TUNABLE_CALLBACK() local
142 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX, 3); in TUNABLE_CALLBACK()
143 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, CX8, 3); in TUNABLE_CALLBACK()
144 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, FMA, 3); in TUNABLE_CALLBACK()
145 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, HTT, 3); in TUNABLE_CALLBACK()
146 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, IBT, 3); in TUNABLE_CALLBACK()
147 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, RTM, 3); in TUNABLE_CALLBACK()
153 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX2, 4); in TUNABLE_CALLBACK()
154 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, BMI1, 4); in TUNABLE_CALLBACK()
155 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, BMI2, 4); in TUNABLE_CALLBACK()
156 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, CMOV, 4); in TUNABLE_CALLBACK()
157 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, ERMS, 4); in TUNABLE_CALLBACK()
158 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, FMA4, 4); in TUNABLE_CALLBACK()
159 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, SSE2, 4); in TUNABLE_CALLBACK()
160 CHECK_GLIBC_IFUNC_PREFERRED_OFF (n, cpu_features, I586, 4); in TUNABLE_CALLBACK()
161 CHECK_GLIBC_IFUNC_PREFERRED_OFF (n, cpu_features, I686, 4); in TUNABLE_CALLBACK()
167 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, LZCNT, 5); in TUNABLE_CALLBACK()
168 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, MOVBE, 5); in TUNABLE_CALLBACK()
169 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, SHSTK, 5); in TUNABLE_CALLBACK()
170 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, SSSE3, 5); in TUNABLE_CALLBACK()
171 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, XSAVE, 5); in TUNABLE_CALLBACK()
177 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, POPCNT, 6); in TUNABLE_CALLBACK()
178 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, SSE4_1, 6); in TUNABLE_CALLBACK()
179 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, SSE4_2, 6); in TUNABLE_CALLBACK()
183 cpu_features->xsave_state_size in TUNABLE_CALLBACK()
184 = cpu_features->xsave_state_full_size; in TUNABLE_CALLBACK()
185 CPU_FEATURE_UNSET (cpu_features, XSAVEC); in TUNABLE_CALLBACK()
192 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512F, 7); in TUNABLE_CALLBACK()
193 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, OSXSAVE, 7); in TUNABLE_CALLBACK()
199 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512CD, 8); in TUNABLE_CALLBACK()
200 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512BW, 8); in TUNABLE_CALLBACK()
201 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512DQ, 8); in TUNABLE_CALLBACK()
202 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512ER, 8); in TUNABLE_CALLBACK()
203 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512PF, 8); in TUNABLE_CALLBACK()
204 CHECK_GLIBC_IFUNC_CPU_OFF (n, cpu_features, AVX512VL, 8); in TUNABLE_CALLBACK()
206 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, Slow_BSF, in TUNABLE_CALLBACK()
211 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
214 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
217 CHECK_GLIBC_IFUNC_PREFERRED_NEED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
225 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
233 (n, cpu_features, Prefer_No_AVX512, AVX512F, in TUNABLE_CALLBACK()
239 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
246 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
249 CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, in TUNABLE_CALLBACK()
257 (n, cpu_features, Prefer_No_VZEROUPPER, AVX, disable, in TUNABLE_CALLBACK()
264 (n, cpu_features, AVX_Fast_Unaligned_Load, AVX, in TUNABLE_CALLBACK()
271 (n, cpu_features, MathVec_Prefer_No_AVX512, AVX512F, in TUNABLE_CALLBACK()
278 (n, cpu_features, Prefer_PMINUB_for_stringop, SSE2, in TUNABLE_CALLBACK()