Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Dot product

Name: Anonymous 2011-08-02 14:18

Single precision floating point.
System V AMD64 ABI convention.


sses_dot:
    movaps xmm0, [rdi]
    mulps xmm0, [rsi]
    haddps xmm0, xmm0
    haddps xmm0, xmm0
    ret

Name: Anonymous 2011-08-03 11:41

>>23
blazing fast
in reality 30-75x slower than C/C++ in single-threaded, 100-200x slower at 4-core multi-threading than C/C++

http://shootout.alioth.debian.org/u64q/which-programming-languages-are-fastest.php

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List