start on SIMD documentation
Peter Alexander
peter.alexander.au at gmail.com
Fri Jan 13 12:59:55 PST 2012
On 13/01/12 8:37 PM, Walter Bright wrote:
> On 1/13/2012 11:06 AM, Peter Alexander wrote:
>> import core.simd;
>> void main()
>> {
>> float4 a = void; // float a; doesn't work either
>> a = simd(XMM.PXOR, a);
>> }
>>
>> *** Internal error: backend/cgcod.c 2048 ***
>>
>> Are all those instructions implemented? I seem to get the same for all
>> instructions.
>
> The instructions are implemented, it's the initialization that isn't and
> is failing.
Oh ok.
So is there any way to use them at the moment? None of these work:
float4 a = void;
float4 b;
float4 c = [.0f, .0f, .0f, .0f];
float[4] v = [.0f, .0f, .0f, .0f];
float4 d = v;
More information about the Digitalmars-d
mailing list