suggestion: basic SIMD types modelled after Cg/HLSL

Craig Black cblack at ara.com
Thu Jul 13 10:45:34 PDT 2006


"Thomas Kuehne" <thomas-dloop at kuehne.cn> wrote in message 
news:mqgho3-487.ln1 at birke.kuehne.cn...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Craig Black schrieb am 2006-07-12:
>> Good ideas.  Perhaps it would be easier to integrate Cg/HLSL w/ D so that
>> they could work well together.  Perhaps Cg/HLSL code could  be inlined 
>> like
>> assembler.  That way the full functionality of these languages could be
>> leveraged.  I don't know how difficult this would be to implement though.
>
> The suggestion sounds good to me, however implementing an optimizing
> compiler that uses SSE 1/2/3 and MMX is no small task.
> Maybe GCC's -mfpmath=sse might provide a starting point for SSE support
> in GDC?

I was thinking more along the lines of using the compilers that already 
exist rather than creating our own.

-Craig





More information about the Digitalmars-d mailing list