Tuned JIT compiler

0.3-0.4% speedup depending on CPU.
This commit is contained in:
SChernykh
2020-02-20 20:59:22 +01:00
parent 783f79f264
commit c7b4a89832
6 changed files with 61 additions and 15 deletions

View File

@@ -41,6 +41,7 @@ namespace randomx {
template<bool softAes>
void CompiledVm<softAes>::run(void* seed) {
compiler.prepare();
VmBase<softAes>::generateProgram(seed);
randomx_vm::initialize();
compiler.generateProgram(program, config, randomx_vm::getFlags());