NOP instruction

register load/store from L3
This commit is contained in:
tevador
2019-01-27 18:19:49 +01:00
parent 005c67f64c
commit 8f2abd6c05
15 changed files with 233 additions and 624 deletions

View File

@@ -327,6 +327,10 @@ namespace RandomX {
os << ", " << reg << srcIndex << std::endl;
}
void Instruction::h_NOP(std::ostream& os) const {
os << std::endl;
}
#include "instructionWeights.hpp"
#define INST_NAME(x) REPN(#x, WT(x))
#define INST_HANDLE(x) REPN(&Instruction::h_##x, WT(x))
@@ -377,6 +381,8 @@ namespace RandomX {
INST_NAME(ISTORE)
INST_NAME(FSTORE)
INST_NAME(NOP)
};
InstructionVisualizer Instruction::engine[256] = {
@@ -425,6 +431,8 @@ namespace RandomX {
INST_HANDLE(ISTORE)
INST_HANDLE(FSTORE)
INST_HANDLE(NOP)
};
}