mirror of
https://codeberg.org/wownero/RandomX.git
synced 2026-11-24 13:43:54 +01:00
Reduced the number of virtual calls per hash
This commit is contained in:
@@ -42,9 +42,16 @@ namespace randomx {
|
||||
AlignedAllocator<CacheLineSize>::freeMemory(ptr, sizeof(CompiledVm));
|
||||
}
|
||||
void setDataset(randomx_dataset* dataset) override;
|
||||
void execute() override;
|
||||
void initialize() override;
|
||||
void run(void* seed) override;
|
||||
|
||||
using VmBase<Allocator, softAes>::mem;
|
||||
using VmBase<Allocator, softAes>::program;
|
||||
using VmBase<Allocator, softAes>::config;
|
||||
using VmBase<Allocator, softAes>::reg;
|
||||
using VmBase<Allocator, softAes>::scratchpad;
|
||||
protected:
|
||||
void execute();
|
||||
|
||||
JitCompilerX86 compiler;
|
||||
uint8_t* datasetBasePtr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user