mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
RandomX: optimized IMUL_RCP instruction
+0.4% on AMD Zen2 +0.3% on AMD Zen3 +0.1% on Intel SandyBridge +0.3% on rx/wow on Intel SandyBridge
This commit is contained in:
@@ -104,6 +104,9 @@ namespace randomx {
|
||||
uint8_t* allocatedCode = nullptr;
|
||||
size_t allocatedSize = 0;
|
||||
|
||||
uint8_t* imul_rcp_storage = nullptr;
|
||||
uint32_t imul_rcp_storage_used = 0;
|
||||
|
||||
void generateProgramPrologue(Program&, ProgramConfiguration&);
|
||||
void generateProgramEpilogue(Program&, ProgramConfiguration&);
|
||||
template<bool rax>
|
||||
|
||||
Reference in New Issue
Block a user