mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 06:07:33 -05:00
19 lines
477 B
PHP
19 lines
477 B
PHP
;# callee-saved registers - System V AMD64 ABI
|
|
push rbx
|
|
push rbp
|
|
push r12
|
|
push r13
|
|
push r14
|
|
push r15
|
|
|
|
;# function arguments
|
|
mov rbx, rcx ;# loop counter
|
|
push rdi ;# RegisterFile& registerFile
|
|
mov rcx, rdi
|
|
mov rbp, qword ptr [rsi] ;# "mx", "ma"
|
|
mov rdi, qword ptr [rsi+8] ;# uint8_t* dataset
|
|
mov rsi, rdx ;# convertible_t* scratchpad
|
|
|
|
#include "program_prologue_load.inc"
|
|
|
|
jmp DECL(randomx_program_loop_begin) |