Searched refs:xcr0 (Results 1 – 8 of 8) sorted by relevance
66 uint64_t xcr0; in ossl_cpuid() local112 xcr0 = rxcr(0); in ossl_cpuid()114 xcr0 = 0; in ossl_cpuid()116 if ((xcr0 & (XFEATURE_AVX512 | XFEATURE_AVX)) != in ossl_cpuid()121 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()
82 uint64_t xcr0; in __simd_state_enabled() local89 xcr0 = xgetbv(0); in __simd_state_enabled()90 return ((xcr0 & state) == state); in __simd_state_enabled()
443 uint64_t xcr0; in __simd_state_enabled() local453 xcr0 = zfs_xgetbv(0); in __simd_state_enabled()454 return ((xcr0 & state) == state); in __simd_state_enabled()
241 uint64_t xcr0; in __simd_state_enabled() local247 xcr0 = xgetbv(0); in __simd_state_enabled()248 return ((xcr0 & state) == state); in __simd_state_enabled()
1185 u_long xcr0; in hw_mds_recalculate() local1266 xcr0 = rxcr(0); in hw_mds_recalculate()1267 if ((xcr0 & XFEATURE_ENABLED_ZMM_HI256) != 0 && in hw_mds_recalculate()1270 else if ((xcr0 & XFEATURE_ENABLED_AVX) != 0 && in hw_mds_recalculate()
292 uint64_t xcr0; member
577 uint64_t xcr0; /* Updated by XSETBV */ member