RandomX improved performance of GCC compiled binaries

JIT compilator was slower compared to MSVC compiled binary. Up to +0.1% speedup on rx/wow in Linux.
This commit is contained in:
SChernykh 2020-09-22 13:48:11 +02:00
parent 1584cca6d1
commit 9768bf65d1
5 changed files with 20 additions and 7 deletions

View file

@ -41,7 +41,7 @@ namespace randomx {
class JitCompilerX86;
class Instruction;
typedef void(JitCompilerX86::*InstructionGeneratorX86)(const Instruction&);
typedef void(*InstructionGeneratorX86)(JitCompilerX86*, const Instruction&);
constexpr uint32_t CodeSize = 64 * 1024;