Searched refs:xcr0 (Results 1 – 6 of 6) sorted by relevance
56 uint64_t xcr0; in ossl_cpuid() local102 xcr0 = rxcr(0); in ossl_cpuid()104 xcr0 = 0; in ossl_cpuid()106 if ((xcr0 & (XFEATURE_AVX512 | XFEATURE_AVX)) != in ossl_cpuid()111 if ((xcr0 & XFEATURE_AVX) != XFEATURE_AVX) { in ossl_cpuid()
151 uint32_t xcr0 = 0U; in _sodium_runtime_intel_cpu_features() local154 xcr0 = (uint32_t) _xgetbv(0); in _sodium_runtime_intel_cpu_features()167 mov xcr0, eax in _sodium_runtime_intel_cpu_features()174 : "=a"(xcr0) in _sodium_runtime_intel_cpu_features()178 if ((xcr0 & (XCR0_SSE | XCR0_AVX)) == (XCR0_SSE | XCR0_AVX)) { in _sodium_runtime_intel_cpu_features()
78 uint64_t xcr0; in __simd_state_enabled() local85 xcr0 = xgetbv(0); in __simd_state_enabled()86 return ((xcr0 & state) == state); in __simd_state_enabled()
215 uint64_t xcr0; in __simd_state_enabled() local221 xcr0 = xgetbv(0); in __simd_state_enabled()222 return ((xcr0 & state) == state); in __simd_state_enabled()
336 uint64_t xcr0; in __simd_state_enabled() local346 xcr0 = xgetbv(0); in __simd_state_enabled()347 return ((xcr0 & state) == state); in __simd_state_enabled()
1041 u_long xcr0; in hw_mds_recalculate() local1122 xcr0 = rxcr(0); in hw_mds_recalculate()1123 if ((xcr0 & XFEATURE_ENABLED_ZMM_HI256) != 0 && in hw_mds_recalculate()1126 else if ((xcr0 & XFEATURE_ENABLED_AVX) != 0 && in hw_mds_recalculate()