mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-24 10:48:38 +02:00
CompiledLightVirtualMachine
This commit is contained in:
@@ -37,6 +37,7 @@ namespace RandomX {
|
||||
public:
|
||||
JitCompilerX86();
|
||||
void generateProgram(Program&);
|
||||
void generateProgramLight(Program&);
|
||||
ProgramFunc getProgramFunc() {
|
||||
return (ProgramFunc)code;
|
||||
}
|
||||
@@ -49,6 +50,8 @@ namespace RandomX {
|
||||
uint8_t* code;
|
||||
int32_t codePos;
|
||||
|
||||
void generateProgramPrologue(Program&);
|
||||
void generateProgramEpilogue(Program&);
|
||||
void genAddressReg(Instruction&, bool);
|
||||
void genAddressRegDst(Instruction&, bool);
|
||||
void genAddressImm(Instruction&);
|
||||
|
||||
Reference in New Issue
Block a user