Searched refs:SetSupported (Results 1 – 3 of 3) sorted by relevance
114 static void SetSupported(CpuFeature f) { supported_ |= 1u << f; } in SetSupported() function
141 if (cpu.has_sse42()) SetSupported(SSE4_2); in ProbeImpl()142 if (cpu.has_sse41()) SetSupported(SSE4_1); in ProbeImpl()143 if (cpu.has_ssse3()) SetSupported(SSSE3); in ProbeImpl()144 if (cpu.has_sse3()) SetSupported(SSE3); in ProbeImpl()146 SetSupported(AVX); in ProbeImpl()147 if (cpu.has_avx2()) SetSupported(AVX2); in ProbeImpl()148 if (cpu.has_fma3()) SetSupported(FMA3); in ProbeImpl()151 if (cpu.has_bmi1() && FLAG_enable_bmi1) SetSupported(BMI1); in ProbeImpl()152 if (cpu.has_bmi2() && FLAG_enable_bmi2) SetSupported(BMI2); in ProbeImpl()153 if (cpu.has_lzcnt() && FLAG_enable_lzcnt) SetSupported(LZCNT); in ProbeImpl()[all …]
95 if (cpu.has_sse42()) SetSupported(SSE4_2); in ProbeImpl()96 if (cpu.has_sse41()) SetSupported(SSE4_1); in ProbeImpl()97 if (cpu.has_ssse3()) SetSupported(SSSE3); in ProbeImpl()98 if (cpu.has_sse3()) SetSupported(SSE3); in ProbeImpl()100 SetSupported(AVX); in ProbeImpl()101 if (cpu.has_avx2()) SetSupported(AVX2); in ProbeImpl()102 if (cpu.has_fma3()) SetSupported(FMA3); in ProbeImpl()106 if (cpu.has_sahf() && FLAG_enable_sahf) SetSupported(SAHF); in ProbeImpl()107 if (cpu.has_bmi1() && FLAG_enable_bmi1) SetSupported(BMI1); in ProbeImpl()108 if (cpu.has_bmi2() && FLAG_enable_bmi2) SetSupported(BMI2); in ProbeImpl()[all …]