Fix: hardcoded JIT code buffer size (#98)

* code buffer size is calculated based on RandomX parameters
* added a maximum value constraint for program size and superscalar latency
* reduced the x86 code size of memory instructions by 1 byte
* disclaimer note in configuration documentation
This commit is contained in:
tevador
2019-07-09 20:27:10 +02:00
committed by GitHub
parent 47ade5e894
commit c433f6d3a8
9 changed files with 39 additions and 17 deletions
-2
View File
@@ -43,8 +43,6 @@ namespace randomx {
typedef void(JitCompilerX86::*InstructionGeneratorX86)(Instruction&, int);
constexpr uint32_t CodeSize = 64 * 1024;
class JitCompilerX86 {
public:
JitCompilerX86();