RandomX: rewrote dataset read code

Unified code for AMD and Intel
1% faster on Intel
0.15% faster on AMD Ryzen
This commit is contained in:
SChernykh 2021-05-20 12:45:42 +02:00
parent 7f7b1fb073
commit ff82ca57f2
10 changed files with 16 additions and 69 deletions

View file

@ -125,10 +125,6 @@ struct RandomX_ConfigurationBase
rx_vec_i128 fillAes4Rx4_Key[8];
uint8_t codeShhPrefetchTweaked[20];
uint8_t codeReadDatasetTweaked[64];
uint32_t codeReadDatasetTweakedSize;
uint8_t codeReadDatasetRyzenTweaked[72];
uint32_t codeReadDatasetRyzenTweakedSize;
uint8_t codePrefetchScratchpadTweaked[28];
uint32_t codePrefetchScratchpadTweakedSize;