acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
cpu_features.h
1// Created with ChatGPT by camilo on 2025-11-14 01:27 <3ThomasBorregaardSørensen!!
2#pragma once
3
4
5
6struct CLASS_DECL_ACME cpu_features
7{
8
9
10 bool m_bFP = false;
11 bool m_bSHA1 = false;
12 bool m_bSHA2 = false;
13 bool m_bCRC32 = false;
14 bool m_bAES = false;
15 bool m_bAtomics= false;
16 bool m_bNEON = false;
17 bool m_bSSE = false;
18 bool m_bAVX = false;
19 bool m_bAVX2 = false;
20
21
22 cpu_features();
23
24
25};
26
27
28
29static inline cpu_features g_cpufeatures;
30
31
32
33namespace operating_system
34{
35
36
37 CLASS_DECL_ACME ::string machine_architecture();
38
39
40} // namespace operating_system
41
42
43
Definition cpu_features.h:7