Home
last modified time | relevance | path

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

/external/libvpx/libvpx/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.c219 uint64_t xcr0 = 0; in OPENSSL_cpuid_setup() local
222 xcr0 = OPENSSL_xgetbv(0); in OPENSSL_cpuid_setup()
225 if ((xcr0 & 6) != 6) { in OPENSSL_cpuid_setup()