Array operations -- not actually so difficult

Nox / Lux at
Fri Dec 15 04:11:43 PST 2006

Don Clugston wrote:
>Consider something like a dot product,
>real a[], b[], c[];
>real d = dot(a+b, c);

Hmm, speaking of array operations and dot product ... Seeing as this (dot product)
is one of the added instructions of the upcoming SSE4, would it be possible to
automatically make use of this instruction behind the scenes, compiling a normal
version only if SSE4 is not supported?

More information about the Digitalmars-d mailing list