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

View File

@@ -37,7 +37,7 @@ namespace RandomX {
}
void Instruction::genAddressImm(std::ostream& os) const {
os << ((mod % 4) ? "L1" : "L2") << "[" << (imm32 & ((mod % 4) ? ScratchpadL1Mask : ScratchpadL2Mask)) << "]";
os << "L3" << "[" << (imm32 & ScratchpadL3Mask) << "]";
}
void Instruction::h_IADD_R(std::ostream& os) const {