MCPcopy Create free account
hub / github.com/Niko1221/Strata / xgetbv0

Function xgetbv0

engine/src/quant/isa.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#endif
36}
37unsigned long long xgetbv0() {
38#if defined(_MSC_VER)
39 return _xgetbv(0);
40#else
41 unsigned eax, edx;
42 __asm__ volatile("xgetbv" : "=a"(eax), "=d"(edx) : "c"(0));
43 return ((unsigned long long) edx << 32) | eax;
44#endif
45}
46#endif
47
48// STRATA_FORCE_ISA caps the probes like the pool's own (expert_layout.cpp): avx2 = no AVX-512, avx = AVX only, sse = SSE4.2 only.

Callers 1

probeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected