mirror of
https://codeberg.org/wownero/RandomWOW.git
synced 2026-11-24 13:44:00 +01:00
Reduced x86 code size by 512 bytes (and ecx -> and eax)
This commit is contained in:
@@ -48,7 +48,7 @@ DECL(randomx_program_begin):
|
||||
DECL(randomx_program_epilogue):
|
||||
#include "asm/program_epilogue_linux.inc"
|
||||
|
||||
#define scratchpad_mask and ecx, 2040
|
||||
#define scratchpad_mask and eax, 2040
|
||||
|
||||
.align 64
|
||||
DECL(randomx_program_read_l1):
|
||||
@@ -56,7 +56,7 @@ DECL(randomx_program_read_l1):
|
||||
|
||||
#undef scratchpad_mask
|
||||
|
||||
#define scratchpad_mask and ecx, 32760
|
||||
#define scratchpad_mask and eax, 32760
|
||||
|
||||
.align 64
|
||||
DECL(randomx_program_read_l2):
|
||||
|
||||
Reference in New Issue
Block a user