start on SIMD documentation

Mehrdad wfunction at hotmail.com
Fri Jan 13 12:02:19 PST 2012


On 1/13/2012 11:06 AM, Peter Alexander wrote:
> On 13/01/12 8:39 AM, Walter Bright wrote:
>> https://github.com/D-Programming-Language/d-programming-language.org/blob/master/simd.dd 
>>
>>
>>
>> and core.simd:
>>
>> https://github.com/D-Programming-Language/druntime/blob/master/src/core/simd.d 
>>
>>
>
> Nice!
>
> Although...
>
> import core.simd;
> void main()
> {
>     float4 a = void; // float a; doesn't work either
>     a = simd(XMM.PXOR, a);
> }

Er... is there any reason why we're using such a cryptic PXOR value 
instead of operator overloading?


More information about the Digitalmars-d mailing list