1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 00:15:04 -05:00

Add vzeroupper for processors with AVX

To avoid false dependencies on upper 128 bits of YMM registers.
This commit is contained in:
SChernykh
2019-12-18 09:12:25 +01:00
parent 59e8fdb9ed
commit 7459677fd5
3 changed files with 12 additions and 0 deletions

View File

@@ -82,6 +82,9 @@ randomx_program_prologue_first_load PROC
ror rdx, 32
and edx, RANDOMX_SCRATCHPAD_MASK
stmxcsr dword ptr [rsp-20]
nop
nop
nop
jmp randomx_program_loop_begin
randomx_program_prologue_first_load ENDP