Refactoring

This commit is contained in:
tevador
2019-04-12 14:56:20 +02:00
parent d49302561f
commit 9404516dd8
6 changed files with 154 additions and 14 deletions

View File

@@ -95,6 +95,7 @@ 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
struct Cache {
uint8_t* memory;