Home
last modified time | relevance | path

Searched refs:xcr0 (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/ring/crypto/
Dcpu-intel.c166 uint64_t xcr0 = 0; in GFp_cpuid_setup() local
169 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()
/external/libaom/libaom/third_party/libyuv/source/
Dcpu_id.cc108 uint32 xcr0 = 0u; in TestOsSaveYmm() local
110 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()
/external/boringssl/src/crypto/
Dcpu-intel.c228 uint64_t xcr0 = 0; in OPENSSL_cpuid_setup() local
231 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()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dcpu-intel.c228 uint64_t xcr0 = 0; in OPENSSL_cpuid_setup() local
231 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()
/external/libyuv/files/source/
Dcpu_id.cc119 int xcr0 = 0; in GetXCR0() local
121 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()
/external/libvpx/libvpx/third_party/libyuv/source/
Dcpu_id.cc119 int xcr0 = 0; in GetXCR0() local
121 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()
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DRegisterContext_x86.h289 uint64_t xcr0; member
/external/skia/third_party/skcms/
Dskcms.cc2460 uint32_t xcr0, dont_need_edx; in cpu_type() local
2461 __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()
/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeRegisterContextLinux_x86_64.cpp857 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()