mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-21 09:18:45 +02:00
Unique scratchpad addresses
This commit is contained in:
+2
-1
@@ -95,7 +95,8 @@ namespace RandomX {
|
||||
constexpr int ScratchpadL3Mask = (ScratchpadL3 - 1) * 8;
|
||||
constexpr int ScratchpadL3Mask64 = (ScratchpadL3 / 8 - 1) * 64;
|
||||
constexpr int RegistersCount = 8;
|
||||
constexpr int LimitedAddressRegister = 5; //x86 r13 register
|
||||
constexpr int RegisterNeedsDisplacement = 5; //x86 r13 register
|
||||
constexpr int RegisterNeedsSib = 4; //x86 r12 register
|
||||
|
||||
struct Cache {
|
||||
uint8_t* memory;
|
||||
|
||||
Reference in New Issue
Block a user