[v0.94][ARM] Add CPU feature detection, such as NEON, AES, SHA... Take into account NEON capabilities for PP computation

This commit is contained in:
Dr-Noob
2020-12-01 11:36:38 +01:00
parent 35c2aa7e6f
commit d04d535807
5 changed files with 109 additions and 9 deletions

View File

@@ -93,9 +93,14 @@ struct cpuInfo {
bool SSE4_2;
bool FMA3;
bool FMA4;
bool SHA;
#elif ARCH_ARM
bool NEON;
bool SHA1;
bool SHA2;
bool CRC32;
#endif
bool AES;
bool SHA;
VENDOR cpu_vendor;
struct uarch* arch;