Removed FPNEG instruction

Optimized instruction frequencies
Increased the range for A registers from [1,65536) to [1, 4294967296)
This commit is contained in:
tevador
2019-02-07 16:11:27 +01:00
parent ac4462ad42
commit a586751f6b
12 changed files with 738 additions and 759 deletions

View File

@@ -247,9 +247,9 @@ namespace RandomX {
os << std::endl;
}
void Instruction::h_FPNEG_R(std::ostream& os) const {
void Instruction::h_CFSUM_R(std::ostream& os) const {
auto dstIndex = dst % 4;
os << "f" << dstIndex << std::endl;
os << "f" << dstIndex << ", " << (1 << ((mod % 4) + 3)) << std::endl;
}
void Instruction::h_FMUL_R(std::ostream& os) const {
@@ -370,7 +370,7 @@ namespace RandomX {
INST_NAME(FADD_M)
INST_NAME(FSUB_R)
INST_NAME(FSUB_M)
INST_NAME(FPNEG_R)
INST_NAME(CFSUM_R)
//Floating point group E
INST_NAME(FMUL_R)
@@ -421,7 +421,7 @@ namespace RandomX {
INST_HANDLE(FADD_M)
INST_HANDLE(FSUB_R)
INST_HANDLE(FSUB_M)
INST_HANDLE(FPNEG_R)
INST_HANDLE(CFSUM_R)
//Floating point group E
INST_HANDLE(FMUL_R)