.file "toto2.c" .text .globl f .type f, @function f: .LFB23: .cfi_startproc endbr64 testl %edx, %edx jle .L1 leal -1(%rdx), %ecx movl $0, %eax .L3: movaps %xmm0, %xmm1 mulss (%rdi,%rax,4), %xmm1 addss (%rsi,%rax,4), %xmm1 movss %xmm1, (%rsi,%rax,4) movq %rax, %rdx addq $1, %rax cmpq %rcx, %rdx jne .L3 .L1: ret .cfi_endproc .LFE23: .size f, .-f .globl f2 .type f2, @function f2: .LFB24: .cfi_startproc endbr64 testl %edx, %edx jle .L5 movq %rsi, %rax leal -1(%rdx), %edx leaq 4(%rsi,%rdx,4), %rdx .L7: movaps %xmm0, %xmm1 mulss (%rdi), %xmm1 cvtss2sd %xmm1, %xmm1 movapd %xmm1, %xmm2 sqrtsd %xmm2, %xmm2 pxor %xmm1, %xmm1 cvtss2sd (%rax), %xmm1 addsd %xmm2, %xmm1 cvtsd2ss %xmm1, %xmm1 movss %xmm1, (%rax) addq $4, %rax addq $4, %rdi cmpq %rdx, %rax jne .L7 .L5: ret .cfi_endproc .LFE24: .size f2, .-f2 .globl main .type main, @function main: .LFB25: .cfi_startproc endbr64 movl $0, %eax ret .cfi_endproc .LFE25: .size main, .-main .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0" .section .note.GNU-stack,"",@progbits .section .note.gnu.property,"a" .align 8 .long 1f - 0f .long 4f - 1f .long 5 0: .string "GNU" 1: .align 8 .long 0xc0000002 .long 3f - 2f 2: .long 0x3 3: .align 8 4: