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:
tevador
2019-06-10 16:00:04 +02:00
committed by GitHub
parent eb6f6bb041
commit 52aa36249e
3 changed files with 8 additions and 0 deletions

View File

@@ -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>;