Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text
- .global dot_product
- dot_product:
- pushl %ebp
- movl %esp, %ebp
- movl 8(%ebp), %eax
- movl 12(%ebp), %edi
- movl 16(%ebp), %esi
- movsd (%esi), %xmm0
- subl $8, %esp
- movsd %xmm0, (%esp)
- fldl (%esp)
- addl $8, %esp
- popl %ebp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement