suggestion: basic SIMD types modelled after Cg/HLSL

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Jul 13 03:59:22 PDT 2006


-----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?

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEthQFLK5blCcjpWoRAmQ2AJ0UPTtfNPxYMhBNBkwzMJApqDxBUQCglJGe
SQpJT6pGUgi0bmRz1V2Y1w4=
=mqGK
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list