mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 14:17:33 -05:00
Added explicit STORE instructions
JIT compiler
This commit is contained in:
@@ -174,7 +174,7 @@ void mine(RandomX::VirtualMachine* vm, std::atomic<int>& atomicNonce, AtomicHash
|
||||
for (int chain = 0; chain < 16; ++chain) {
|
||||
vm->initializeProgram(hash);
|
||||
int segment = hash[3] & 3;
|
||||
vm->setScratchpad(scratchpad);// +segment * RandomX::ScratchpadSize / 4);
|
||||
vm->setScratchpad(scratchpad + segment * RandomX::ScratchpadSize / 4);
|
||||
vm->execute();
|
||||
vm->getResult(nullptr, 0, hash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user