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:
parent
61d165a314
commit
3477f9fbc1
6 changed files with 55 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue