Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dim as double tim = timer
- dim as double testdouble
- dim as single testsingle
- for i as ulong = 0 to 100000000
- asm
- movsd xmm0, [testdouble]
- addsd xmm0, xmm0
- movsd [testdouble], xmm0
- end asm
- next
- print "Double: "&timer-tim
- tim = timer
- for i as ulong = 0 to 100000000
- asm
- movss xmm0, [testsingle]
- addss xmm0, xmm0
- movss [testsingle], xmm0
- end asm
- next
- print "Single: "&timer-tim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement