|
|
|
@ -217,7 +217,7 @@ BoolInt CPU_Is_InOrder()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !defined(MY_CPU_AMD64) && defined(_WIN32)
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
static BoolInt CPU_Sys_Is_SSE_Supported()
|
|
|
|
|
{
|
|
|
|
|
OSVERSIONINFO vi;
|
|
|
|
@ -275,7 +275,7 @@ BoolInt CPU_IsSupported_SHA()
|
|
|
|
|
// #include <stdio.h>
|
|
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
BoolInt CPU_IsSupported_AVX2()
|
|
|
|
@ -351,7 +351,7 @@ BoolInt CPU_IsSupported_PageGB()
|
|
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
|
|
BoolInt CPU_IsSupported_CRC32() { return IsProcessorFeaturePresent(PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE) ? 1 : 0; }
|
|
|
|
|
BoolInt CPU_IsSupported_CRYPTO() { return IsProcessorFeaturePresent(PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE) ? 1 : 0; }
|
|
|
|
|