/prebuilts/go/darwin-x86/src/internal/cpu/ |
cpu_x86.go | 14 // xgetbv with ecx = 0 is implemented in cpu_x86.s. 15 func xgetbv() (eax, edx uint32) func 38 // For XGETBV, OSXSAVE bit is required and sufficient. 40 eax, _ := xgetbv()
|
/prebuilts/go/linux-x86/src/internal/cpu/ |
cpu_x86.go | 14 // xgetbv with ecx = 0 is implemented in cpu_x86.s. 15 func xgetbv() (eax, edx uint32) func 38 // For XGETBV, OSXSAVE bit is required and sufficient. 40 eax, _ := xgetbv()
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
chacha20poly1305_amd64.go | 20 // xgetbv with ecx = 0 is implemented in chacha20poly1305_amd64.s. 21 func xgetbv() (eax, edx uint32) func 49 // For XGETBV, OSXSAVE bit is required and sufficient. 51 eax, _ := xgetbv()
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
chacha20poly1305_amd64.go | 20 // xgetbv with ecx = 0 is implemented in chacha20poly1305_amd64.s. 21 func xgetbv() (eax, edx uint32) func 49 // For XGETBV, OSXSAVE bit is required and sufficient. 51 eax, _ := xgetbv()
|
/external/skia/src/core/ |
SkCpu.cpp | 20 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/skqp/src/core/ |
SkCpu.cpp | 20 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/webp/src/dsp/ |
cpu.c | 66 // 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/mesa3d/src/gallium/auxiliary/util/ |
u_cpu_detect.c | 253 static inline uint64_t xgetbv(void) function 259 ".byte 0x0f, 0x01, 0xd0" // xgetbv isn't supported on gcc < 4.4 370 ((xgetbv() & 6) == 6); // XMM & YMM 393 (xgetbv() & (0x7 << 5)) && // OPMASK: upper-256 enabled by OS 394 ((xgetbv() & 6) == 6)) { // XMM/YMM enabled by OS
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ |
arch-10.s | 30 xgetbv label
|
x86-64-arch-2.s | 30 xgetbv label
|
/external/libvpx/libvpx/vpx_ports/ |
x86.h | 111 // 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 205 if ((xgetbv() & 0x6) == 0x6) {
|
/external/valgrind/memcheck/tests/amd64/ |
xsave-avx.c | 159 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/llvm/test/MC/X86/ |
x86-64.s | 1129 xgetbv // CHECK: xgetbv # encoding: [0x0f,0x01,0xd0] label [all...] |
/external/swiftshader/third_party/LLVM/test/MC/X86/ |
x86-64.s | 976 xgetbv // CHECK: xgetbv # encoding: [0x0f,0x01,0xd0] label
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
mpx-mini-test.c | 202 static inline uint64_t xgetbv(uint32_t index) function 206 asm volatile(".byte 0x0f,0x01,0xd0" /* xgetbv */ 519 #define XSAVE_FEATURE_BIT (26) /* XSAVE/XRSTOR/XSETBV/XGETBV */ 553 printf("XSAVE OS supported state mask: 0x%jx\n", xgetbv(0)); 562 if ((xgetbv(0) & MPX_XSTATES) != MPX_XSTATES) { [all...] |