Fix for 1st-gen Ryzen crashes

This commit is contained in:
SChernykh
2019-12-27 12:40:38 +02:00
parent 1555634494
commit a1f223dcb0
10 changed files with 102 additions and 9 deletions

View File

@@ -81,7 +81,8 @@ randomx_program_prologue_first_load PROC
and eax, RANDOMX_SCRATCHPAD_MASK
ror rdx, 32
and edx, RANDOMX_SCRATCHPAD_MASK
stmxcsr dword ptr [rsp-20]
sub rsp, 24
stmxcsr dword ptr [rsp]
nop
nop
nop