16 -> 8 chained programs

constant address loads are always from L3
This commit is contained in:
tevador
2019-02-05 23:06:44 +01:00
parent 1ee94bef2a
commit b417fd08ea
7 changed files with 749 additions and 361 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ namespace RandomX {
}
void JitCompilerX86::genAddressImm(Instruction& instr) {
emit32(instr.imm32 & ((instr.mod % 4) ? ScratchpadL1Mask : ScratchpadL2Mask));
emit32(instr.imm32 & ScratchpadL3Mask);
}
void JitCompilerX86::h_IADD_R(Instruction& instr) {