mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 14:17:33 -05:00
Add Dataset prefetch in interpreted VM (#52)
- to formally match the specification - a small increase in interpreted mining speed (~4%)
This commit is contained in:
@@ -51,6 +51,7 @@ namespace randomx {
|
||||
void setCache(randomx_cache* cache) override;
|
||||
protected:
|
||||
void datasetRead(uint64_t address, int_reg_t(&r)[8]) override;
|
||||
void datasetPrefetch(uint64_t address) override { }
|
||||
};
|
||||
|
||||
using InterpretedLightVmDefault = InterpretedLightVm<AlignedAllocator<CacheLineSize>, true>;
|
||||
|
||||
Reference in New Issue
Block a user