https://git.reactos.org/?p=reactos.git;a=commitdiff;h=be8bbcbe928a3eb1cd97c…
commit be8bbcbe928a3eb1cd97c87cb13ba7b185c6d01c
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun May 26 13:33:07 2024 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Nov 16 20:01:49 2024 +0200
[VCRUNTIME] Add isa_availability.h
---
sdk/include/vcruntime/isa_availability.h | 33 ++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/sdk/include/vcruntime/isa_availability.h
b/sdk/include/vcruntime/isa_availability.h
new file mode 100644
index 00000000000..4b011fca3e2
--- /dev/null
+++ b/sdk/include/vcruntime/isa_availability.h
@@ -0,0 +1,33 @@
+/*
+ * PROJECT: ReactOS SDK
+ * LICENSE: MIT (
https://spdx.org/licenses/MIT)
+ * PURPOSE: CRT - ISA availability
+ * COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+#pragma once
+
+#define __ISA_AVAILABILITY__H__
+
+enum ISA_AVAILABILITY
+{
+ __ISA_AVAILABLE_X86 = 0,
+ __ISA_AVAILABLE_SSE2 = 1,
+ __ISA_AVAILABLE_SSE42 = 2,
+ __ISA_AVAILABLE_AVX = 3,
+ __ISA_AVAILABLE_ENFSTRG = 4,
+ __ISA_AVAILABLE_AVX2 = 5,
+ __ISA_AVAILABLE_AVX512 = 6,
+
+ __ISA_AVAILABLE_ARMNT = 0,
+ __ISA_AVAILABLE_NEON = 1,
+ __ISA_AVAILABLE_NEON_ARM64 = 2,
+};
+
+#if defined(_M_IX86)
+#define __FAVOR_ATOM 0
+#define __FAVOR_ENFSTRG 1
+#elif defined(_M_X64)
+#define __FAVOR_ATOM 0
+#define __FAVOR_ENFSTRG 1
+#endif