Merged xmrig v6.21.2

This commit is contained in:
MoneroOcean 2024-03-24 09:42:58 -07:00
commit c313c1795f
64 changed files with 2670 additions and 1631 deletions

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.5)
project(GhostRider)
set(HEADERS

View file

@ -1078,6 +1078,6 @@ void JitCompilerA64::h_NOP(Instruction& instr, uint32_t& codePos)
{
}
InstructionGeneratorA64 JitCompilerA64::engine[256] = {};
InstructionGeneratorA64 JitCompilerA64::engine[257] = {};
}

View file

@ -74,7 +74,7 @@ namespace randomx {
void enableWriting() const;
void enableExecution() const;
static InstructionGeneratorA64 engine[256];
static InstructionGeneratorA64 engine[257];
private:
const bool hugePages;

View file

@ -1456,6 +1456,6 @@ namespace randomx {
emitByte(0x90, code, codePos);
}
alignas(64) InstructionGeneratorX86 JitCompilerX86::engine[256] = {};
alignas(64) InstructionGeneratorX86 JitCompilerX86::engine[257] = {};
}

View file

@ -81,7 +81,7 @@ namespace randomx {
void enableWriting() const;
void enableExecution() const;
alignas(64) static InstructionGeneratorX86 engine[256];
alignas(64) static InstructionGeneratorX86 engine[257];
private:
int registerUsage[RegistersCount] = {};