Guest User

Untitled

a guest
Feb 18th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.13 KB | None | 0 0
  1.                         for (int i = 0; i < x.Length; i++)
  2.                                 x[i] = y = a * y + b * x[i];
  3.  
  4. 000007ff`00160290 f30f59ce        mulss   xmm1,xmm6
  5. 000007ff`00160294 0f28c5          movaps  xmm0,xmm5
  6. 000007ff`00160297 f30f5900        mulss   xmm0,dword ptr [rax]
  7. 000007ff`0016029b f30f58c8        addss   xmm1,xmm0
  8. 000007ff`0016029f f30f1108        movss   dword ptr [rax],xmm1
  9. 000007ff`001602a3 480504000000    add     rax,4
  10. 000007ff`001602a9 483bc2          cmp     rax,rdx
  11. 000007ff`001602ac 7ce2            jl      000007ff`00160290
  12.  
  13.  
  14.                         for (int i = 0; i < x.Length; i++)
  15.                                 x[i] *= (float)Math.Sin(y[i]);
  16.  
  17.  
  18. 000007ff`00160270 f30f10741f10    movss   xmm6,dword ptr [rdi+rbx+10h]
  19. 000007ff`00160276 f30f5a441e10    cvtss2sd xmm0,dword ptr [rsi+rbx+10h]
  20. 000007ff`0016027c e85f296fe9      call    clr!COMDouble::Sin (000007fe`e9852be0)
  21. 000007ff`00160281 f20f5ac8        cvtsd2ss xmm1,xmm0
  22. 000007ff`00160285 f30f59ce        mulss   xmm1,xmm6
  23. 000007ff`00160289 f30f114c1f10    movss   dword ptr [rdi+rbx+10h],xmm1
  24. 000007ff`0016028f 4883c304        add     rbx,4
  25. 000007ff`00160293 483bdd          cmp     rbx,rbp
  26. 000007ff`00160296 7cd8            jl      000007ff`00160270
  27.  
  28. clr!COMDouble::Sin:
  29. 000007fe`e9852be0 f20f11442408    movsd   mmword ptr [rsp+8],xmm0
  30. 000007fe`e9852be6 dd442408        fld     qword ptr [rsp+8]
  31. 000007fe`e9852bea d9fe            fsin
  32. 000007fe`e9852bec dd5c2408        fstp    qword ptr [rsp+8]
  33. 000007fe`e9852bf0 f20f10442408    movsd   xmm0,mmword ptr [rsp+8]
  34. 000007fe`e9852bf6 c3              ret
  35.  
  36.  
  37.                         for (int i = 0; i < x.Length; i++)
  38.                                 z[i] = (int)(x[i] * y[i]);
  39.  
  40.  
  41. 000007ff`001502a0 f30f10440b10    movss   xmm0,dword ptr [rbx+rcx+10h]
  42. 000007ff`001502a6 f30f59440f10    mulss   xmm0,dword ptr [rdi+rcx+10h]
  43. 000007ff`001502ac f30f2cc0        cvttss2si eax,xmm0
  44. 000007ff`001502b0 89440e10        mov     dword ptr [rsi+rcx+10h],eax
  45. 000007ff`001502b4 4883c104        add     rcx,4
  46. 000007ff`001502b8 493bca          cmp     rcx,r10
  47. 000007ff`001502bb 7ce3            jl      000007ff`001502a0
Add Comment
Please, Sign In to add comment