Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dcpu.c72 // NaCl has no support for xgetbv or the raw opcode.
74 static WEBP_INLINE uint64_t xgetbv(void) { in xgetbv() function
77 // Use the raw opcode for xgetbv for compatibility with older toolchains. in xgetbv()
86 #define xgetbv() _xgetbv(0) macro
88 static WEBP_INLINE uint64_t xgetbv(void) { in xgetbv() function
92 // Use the raw opcode for xgetbv for compatibility with older toolchains. in xgetbv()
100 #define xgetbv() 0U // no AVX for older x64 or unrecognized toolchains. macro
165 return (xgetbv() & 0x6) == 0x6; in x86CPUInfo()
/third_party/skia/src/core/
H A DSkCpu.cpp18 static uint64_t xgetbv(uint32_t xcr) { return _xgetbv(xcr); } in xgetbv() function
29 static uint64_t xgetbv(uint32_t xcr) { in xgetbv() function
31 __asm__ __volatile__ ( "xgetbv" : "=a"(eax), "=d"(edx) : "c"(xcr)); in xgetbv()
51 && (xgetbv(0) & (3<<1)) == (3<<1)) { // XMM and YMM state enabled. in read_cpu_features()
62 if ((xgetbv(0) & (7<<5)) == (7<<5)) { // All ZMM state bits enabled too. in read_cpu_features()
/third_party/ffmpeg/libavutil/x86/
H A Dcpu.c36 #define xgetbv(index, eax, edx) \ macro
50 #define xgetbv(index, eax, edx) \ macro
136 xgetbv(0, xcr0_lo, xcr0_hi); in ff_get_cpu_flags_x86()
H A Dcpuid.asm58 xgetbv
/third_party/mesa3d/src/util/
H A Du_cpu_detect.c340 static inline uint64_t xgetbv(void) in xgetbv() function
346 ".byte 0x0f, 0x01, 0xd0" // xgetbv isn't supported on gcc < 4.4 in xgetbv()
730 ((xgetbv() & 6) == 6); // XMM & YMM in util_cpu_detect_once()
753 (xgetbv() & (0x7 << 5)) && // OPMASK: upper-256 enabled by OS in util_cpu_detect_once()
754 ((xgetbv() & 6) == 6)) { // XMM/YMM enabled by OS in util_cpu_detect_once()
/third_party/node/deps/simdutf/
H A Dsimdutf.h760 static inline uint64_t xgetbv() { in xgetbv() function
765 asm volatile("xgetbv\n\t" : "=a" (xcr0_lo), "=d" (xcr0_hi) : "c" (0)); in xgetbv()
793 // xgetbv for checking if the OS saves registers in detect_supported_architectures()
794 uint64_t xcr0 = xgetbv(); in detect_supported_architectures()
/third_party/node/deps/v8/src/codegen/ia32/
H A Dassembler-ia32.cc84 V8_INLINE uint64_t xgetbv(unsigned int xcr) { in xgetbv() function
89 // Check xgetbv; this uses a .byte sequence instead of the instruction in xgetbv()
90 // directly because older assemblers do not include support for xgetbv and in xgetbv()
117 uint64_t feature_mask = xgetbv(0); // XCR_XFEATURE_ENABLED_MASK in OSHasAVXSupport()
/third_party/node/deps/v8/src/codegen/x64/
H A Dassembler-x64.cc37 V8_INLINE uint64_t xgetbv(unsigned int xcr) { in xgetbv() function
42 // Check xgetbv; this uses a .byte sequence instead of the instruction in xgetbv()
43 // directly because older assemblers do not include support for xgetbv and in xgetbv()
70 uint64_t feature_mask = xgetbv(0); // XCR_XFEATURE_ENABLED_MASK in OSHasAVXSupport()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86IntrinsicsInfo.h319 X86_INTRINSIC_DATA(xgetbv, XGETBV, X86::XGETBV, 0),

Completed in 23 milliseconds