JIT compiler for ARMv8 (#125)

JIT compiler for ARMv8
This commit is contained in:
SChernykh
2019-09-22 21:06:22 +02:00
committed by tevador
parent 5fb26fc607
commit c6468a3816
8 changed files with 1794 additions and 28 deletions

View File

@@ -63,6 +63,9 @@ namespace randomx {
template<class Allocator, bool softAes, bool secureJit>
void CompiledVm<Allocator, softAes, secureJit>::execute() {
#ifdef __aarch64__
memcpy(reg.f, config.eMask, sizeof(config.eMask));
#endif
compiler.getProgramFunc()(reg, mem, scratchpad, RANDOMX_PROGRAM_ITERATIONS);
}