Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .686
- .XMM
- .model flat
- public _dodawanie_SSE
- .data
- ALIGN 16
- tabl_A dd 1.0, 2.0, 3.0, 4.0
- tabl_B dd 2.0, 3.0, 4.0, 5.0
- liczba db 1
- tabl_C dd 3.0, 4.0, 5.0, 6.0
- .code
- _dodawanie_SSE PROC
- push ebp
- mov ebp, esp
- mov eax, [ebp+8]
- movaps xmm2, tabl_A
- movaps xmm3, tabl_B
- movups xmm4, tabl_C
- addps xmm2, xmm3
- addps xmm2, xmm4
- movups [eax], xmm2
- pop ebp
- ret
- _dodawanie_SSE ENDP
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement