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 887c891ab2
commit 0caeb41bff
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());