Created
August 21, 2019 17:52
-
-
Save aghosn/a518ece12792145a13a2c51462a83c69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __CPU_FEATURES_H__ | |
#define __CPU_FEATURES_H__ | |
typedef struct { | |
char fCX8; | |
char fCMOV; | |
char fFXSR; | |
char fHT; | |
char fMMX; | |
char fAMD3DNOWPREFETCH; | |
char fSSE; | |
char fSSE2; | |
char fSSE3; | |
char fSSSE3; | |
char fSSE4A; | |
char fSSE41; | |
char fSSE42; | |
char fPOPCNT; | |
char fLZCNT; | |
char fTSC; | |
char fTSCINV; | |
char fAVX; | |
char fAVX2; | |
char fAES; | |
char fERMS; | |
char fCLMUL; | |
char fBMI1; | |
char fBMI2; | |
char fRTM; | |
char fADX; | |
char fAVX512F; | |
char fAVX512DQ; | |
char fAVX512PF; | |
char fAVX512ER; | |
char fAVX512CD; | |
char fAVX512BW; | |
} CPUFeatures; | |
void determineCPUFeatures(CPUFeatures* features); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment