Searched refs:xgetbv (Results 1 - 8 of 8) sorted by relevance

/external/webp/src/dsp/
H A Dcpu.c66 // NaCl has no support for xgetbv or the raw opcode.
68 static WEBP_INLINE uint64_t xgetbv(void) { function
71 // Use the raw opcode for xgetbv for compatibility with older toolchains.
80 #define xgetbv() _xgetbv(0) macro
82 static WEBP_INLINE uint64_t xgetbv(void) { function
86 // Use the raw opcode for xgetbv for compatibility with older toolchains.
94 #define xgetbv() 0U // no AVX for older x64 or unrecognized toolchains. macro
159 return (xgetbv() & 0x6) == 0x6;
/external/skia/src/core/
H A DSkCpu.cpp20 static uint64_t xgetbv(uint32_t xcr) { return _xgetbv(xcr); } function
31 static uint64_t xgetbv(uint32_t xcr) { function
33 __asm__ __volatile__ ( "xgetbv" : "=a"(eax), "=d"(edx) : "c"(xcr));
53 && (xgetbv(0) & (3<<1)) == (3<<1)) { // XMM and YMM state enabled.
63 if ((xgetbv(0) & (7<<5)) == (7<<5)) { // All ZMM state bits enabled too.
/external/libvpx/libvpx/vpx_ports/
H A Dx86.h111 // NaCl has no support for xgetbv or the raw opcode.
113 static INLINE uint64_t xgetbv(void) { function
116 // Use the raw opcode for xgetbv for compatibility with older toolchains.
125 #define xgetbv() _xgetbv(0) macro
127 static INLINE uint64_t xgetbv(void) { function
131 // Use the raw opcode for xgetbv for compatibility with older toolchains.
139 #define xgetbv() 0U // no AVX for older x64 or unrecognized toolchains. macro
204 if ((xgetbv() & 0x6) == 0x6) {
/external/valgrind/memcheck/tests/amd64/
H A Dxsave-avx.c159 static void xgetbv ( UInt* eax, UInt* edx, UInt ecx_in ) function
162 asm volatile ("xgetbv"
184 xgetbv(&eax, &edx, 0);
185 //fprintf(stderr, "xgetbv(0) = %u:%u\n", edx, eax);
/external/clang/test/CodeGen/
H A Dms-inline-asm.c586 void xgetbv() {
587 __asm xgetbv
589 // CHECK-LABEL: define void @xgetbv()
590 // CHECK: call void asm sideeffect inteldialect "xgetbv", "~{eax},~{edx},~{dirflag},~{fpsr},~{flags}"()
/external/linux-kselftest/tools/testing/selftests/x86/
H A Dmpx-mini-test.c202 static inline uint64_t xgetbv(uint32_t index) function
206 asm volatile(".byte 0x0f,0x01,0xd0" /* xgetbv */
553 printf("XSAVE OS supported state mask: 0x%jx\n", xgetbv(0));
562 if ((xgetbv(0) & MPX_XSTATES) != MPX_XSTATES) {
/external/llvm/test/MC/X86/
H A Dx86-64.s1129 xgetbv // CHECK: xgetbv # encoding: [0x0f,0x01,0xd0] label
/external/swiftshader/third_party/LLVM/test/MC/X86/
H A Dx86-64.s976 xgetbv // CHECK: xgetbv # encoding: [0x0f,0x01,0xd0] label

Completed in 825 milliseconds