Advertisement
Guest User

Untitled

a guest
Feb 7th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         .text
  2.         .global dot_product
  3. dot_product:
  4.         pushl   %ebp
  5.         movl    %esp, %ebp
  6.  
  7.  
  8.         movl    8(%ebp), %eax
  9.         movl    12(%ebp), %edi
  10.         movl    16(%ebp), %esi
  11.  
  12.         movsd   (%esi), %xmm0
  13.  
  14.  
  15.         subl    $8, %esp
  16.         movsd  %xmm0, (%esp)
  17.         fldl    (%esp)
  18.         addl     $8, %esp
  19.  
  20.         popl    %ebp
  21.         ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement