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
|
@ -41,6 +41,7 @@
|
|||
.global DECL(randomx_prefetch_scratchpad_end)
|
||||
.global DECL(randomx_program_prologue)
|
||||
.global DECL(randomx_program_prologue_first_load)
|
||||
.global DECL(randomx_program_imul_rcp_store)
|
||||
.global DECL(randomx_program_loop_begin)
|
||||
.global DECL(randomx_program_loop_load)
|
||||
.global DECL(randomx_program_loop_load_xop)
|
||||
|
@ -106,11 +107,15 @@ DECL(randomx_program_prologue_first_load):
|
|||
nop
|
||||
nop
|
||||
nop
|
||||
jmp DECL(randomx_program_loop_begin)
|
||||
jmp DECL(randomx_program_imul_rcp_store)
|
||||
|
||||
.balign 64
|
||||
#include "asm/program_xmm_constants.inc"
|
||||
|
||||
DECL(randomx_program_imul_rcp_store):
|
||||
#include "asm/program_imul_rcp_store.inc"
|
||||
jmp DECL(randomx_program_loop_begin)
|
||||
|
||||
.balign 64
|
||||
DECL(randomx_program_loop_begin):
|
||||
nop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue