mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 06:07:33 -05:00
Implemented cache shift
Fixed assembly code generator Fixed an error in the interpreter Updated specification: sign-extended immediates
This commit is contained in:
@@ -35,6 +35,7 @@ namespace RandomX {
|
||||
constexpr int SeedSize = 32;
|
||||
|
||||
constexpr int CacheBlockSize = 1024;
|
||||
constexpr int CacheShift = CacheBlockSize / 2;
|
||||
constexpr int BlockExpansionRatio = 64;
|
||||
constexpr uint32_t DatasetBlockSize = BlockExpansionRatio * CacheBlockSize;
|
||||
constexpr uint32_t DatasetBlockCount = 65536;
|
||||
|
||||
Reference in New Issue
Block a user