MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / stbi__cpuid3

Function stbi__cpuid3

lite/example/cpp_example/mge/cv/stb_image.h:759–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757#if _MSC_VER >= 1400 // not VC6
758#include <intrin.h> // __cpuid
759static int stbi__cpuid3(void) {
760 int info[4];
761 __cpuid(info, 1);
762 return info[3];
763}
764#else
765static int stbi__cpuid3(void) {
766 int res;

Callers 1

stbi__sse2_availableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected