Remove unneeded saving of rdi in strcpy()

This commit is contained in:
2025-06-23 15:30:39 +02:00
parent 26c150cec0
commit e92afdb199

View File

@ -25,8 +25,6 @@ strcpy:
push rbp
mov rbp, rsp
push rdi
sub rsp, 8
xor rax, rax
xor rcx, rcx
.loop:
@ -40,8 +38,6 @@ strcpy:
jmp .loop
.0f:
pop rax
add rsp, 8
cmp rcx, 0
jne .quit
xor rax, rax