Searched refs:xcr0 (Results 1 – 9 of 9) sorted by relevance
166 uint64_t xcr0 = 0; in GFp_cpuid_setup() local169 xcr0 = OPENSSL_xgetbv(0); in GFp_cpuid_setup()172 if ((xcr0 & 6) != 6) { in GFp_cpuid_setup()185 if ((xcr0 & 0xe6) != 0xe6) { in GFp_cpuid_setup()
108 uint32 xcr0 = 0u; in TestOsSaveYmm() local110 xcr0 = (uint32)(_xgetbv(0)); // VS2010 SP1 required. in TestOsSaveYmm()115 mov xcr0, eax in TestOsSaveYmm()118 asm(".byte 0x0f, 0x01, 0xd0" : "=a" (xcr0) : "c" (0) : "%edx"); in TestOsSaveYmm()120 return((xcr0 & 6) == 6); // Is ymm saved? in TestOsSaveYmm()
228 uint64_t xcr0 = 0; in OPENSSL_cpuid_setup() local231 xcr0 = OPENSSL_xgetbv(0); in OPENSSL_cpuid_setup()234 if ((xcr0 & 6) != 6) { in OPENSSL_cpuid_setup()247 if ((xcr0 & 0xe6) != 0xe6) { in OPENSSL_cpuid_setup()
119 int xcr0 = 0; in GetXCR0() local121 xcr0 = (int)_xgetbv(0); // VS2010 SP1 required. NOLINT in GetXCR0()123 asm(".byte 0x0f, 0x01, 0xd0" : "=a"(xcr0) : "c"(0) : "%edx"); in GetXCR0()125 return xcr0; in GetXCR0()
289 uint64_t xcr0; member
2460 uint32_t xcr0, dont_need_edx; in cpu_type() local2461 __asm__ __volatile__("xgetbv" : "=a"(xcr0), "=d"(dont_need_edx) : "c"(0)); in cpu_type()2463 if ((xcr0 & (1u<<1)) && // XMM register state saved? in cpu_type()2464 (xcr0 & (1u<<2)) && // YMM register state saved? in cpu_type()2467 if ((xcr0 & (1u<< 5)) && // Opmasks state saved? in cpu_type()2468 (xcr0 & (1u<< 6)) && // First 16 ZMM registers saved? in cpu_type()2469 (xcr0 & (1u<< 7)) && // High 16 ZMM registers saved? in cpu_type()
857 if ((m_xstate->xsave.i387.xcr0 & mask_XSTATE_AVX) == mask_XSTATE_AVX) in IsCPUFeatureAvailable()862 if ((m_xstate->xsave.i387.xcr0 & mask_XSTATE_MPX) == mask_XSTATE_MPX) in IsCPUFeatureAvailable()