SIMD support...

bearophile bearophileHUGS at lycos.com
Fri Jan 6 06:06:16 PST 2012


Manu:

> To make it perform float4 math, or double2 match, you either write the
> pseudo assembly you want directly, but more realistically, you use the
> __float4 type supplied in the standard library, which will already
> associate all the float4 related functionality, and try and map it across
> various architectures as efficiently as possible.

I see. While you design, you need to think about the other features of D :-) Is it possible to mix CPU SIMD with D vector ops?

__float4[10] a, b, c;
c[] = a[] + b[];

Bye,
bearophile


More information about the Digitalmars-d mailing list