From 541874c7d91013cda51edf12334890305b3988d5 Mon Sep 17 00:00:00 2001 From: Andreas Kapp Lindquist Date: Tue, 28 Oct 2025 15:09:05 +0100 Subject: refactor(src): made sure all function follow calling conventions --- src/array_maker.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/array_maker.s') diff --git a/src/array_maker.s b/src/array_maker.s index b0809ca..f62f364 100644 --- a/src/array_maker.s +++ b/src/array_maker.s @@ -4,7 +4,7 @@ # INPUTS : rdi = File descriptor # OUTPUTS : rax = Pointer to start of array in memory # rdx = Length of array in 8 byte chunks (the number of elements) -# CLOBBERS: rax, rsi +# CLOBBERS: rax, rdx, rdi, rsi # -------------------------------------------- .globl make_array_from_file .type make_array_from_file, @function @@ -64,7 +64,7 @@ end: # rsi = Size of file # OUTPUTS : rax = Pointer to start of pairwise data in memory # rdx = The number of pairs -# CLOBBERS: rdi, rsi, rdx, rax +# CLOBBERS: rax, rdx, rdi, rsi # -------------------------------------------- .globl make_pairwise_data .type make_pairwise_data, @function @@ -123,7 +123,7 @@ end: # INPUTS : rdi = File descriptor # OUTPUTS : rax = Pointer to start of file in memory # rdx = Length of file in bytes -# CLOBBERS: rax, rsi, rdi, rdx +# CLOBBERS: rax, rdx, rdi, rsi # -------------------------------------------- .globl create_file_buffer .type create_file_buffer, @function -- cgit v1.2.3-70-g09d2