Auto-detect the fastest code for dataset init

This commit is contained in:
SChernykh 2020-12-19 13:59:28 +01:00
parent 7aba194d3b
commit 410313d933
5 changed files with 67 additions and 3 deletions

View file

@ -97,6 +97,7 @@ namespace randomx {
bool BranchesWithin32B = false;
bool hasAVX;
bool hasAVX2;
bool initDatasetAVX2;
bool hasXOP;
uint8_t* allocatedCode = nullptr;