1 /* 2 * PROJECT: ReactOS SDK 3 * LICENSE: MIT (https://spdx.org/licenses/MIT) 4 * PURPOSE: CRT - ISA availability 5 * COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org) 6 */ 7 8 #pragma once 9 10 #define __ISA_AVAILABILITY__H__ 11 12 enum ISA_AVAILABILITY 13 { 14 __ISA_AVAILABLE_X86 = 0, 15 __ISA_AVAILABLE_SSE2 = 1, 16 __ISA_AVAILABLE_SSE42 = 2, 17 __ISA_AVAILABLE_AVX = 3, 18 __ISA_AVAILABLE_ENFSTRG = 4, 19 __ISA_AVAILABLE_AVX2 = 5, 20 __ISA_AVAILABLE_AVX512 = 6, 21 22 __ISA_AVAILABLE_ARMNT = 0, 23 __ISA_AVAILABLE_NEON = 1, 24 __ISA_AVAILABLE_NEON_ARM64 = 2, 25 }; 26 27 #if defined(_M_IX86) 28 #define __FAVOR_ATOM 0 29 #define __FAVOR_ENFSTRG 1 30 #elif defined(_M_X64) 31 #define __FAVOR_ATOM 0 32 #define __FAVOR_ENFSTRG 1 33 #endif 34