Print average program code size

Fixed assembly for MUL_64 and IMUL_32
Division weight 4 -> 8
This commit is contained in:
tevador
2019-01-12 16:05:09 +01:00
parent 2756bcdcfe
commit 1426fcbab5
8 changed files with 337 additions and 225 deletions
+2
View File
@@ -51,6 +51,7 @@ namespace RandomX {
uint8_t* getCode() {
return code;
}
size_t getCodeSize();
private:
static InstructionGeneratorX86 engine[256];
uint8_t* code;
@@ -114,6 +115,7 @@ namespace RandomX {
void h_JUMP(Instruction&, int);
void h_CALL(Instruction&, int);
void h_RET(Instruction&, int);
void h_NOP(Instruction&, int);
};
}