Optimizations of DMD

Howard Berkey howard at well.com
Fri Mar 2 22:03:10 PST 2007


janderson Wrote:

> Orgoton wrote:
> > Does DMD perform processor specific optimizations? Does it make use of MMX, SSE and other such extensions? I am creating high performance applications and these optimizations would really come in handy.
> 
> Not at the moment (as far as I know), although there have been some long 
> discussions about it.  Of course you can always do it in ASM. 
> Performance wise, you should be able to get near or better then C++.
> 
> PS - I'm looking forward to seeing these in D as well.
> 
> -Joel


I was thinking that some kind of standardized vector intrinsic interface would be really cool.  Think std.intrinsic or Tango's core.intrinsic, extended to vectorized types, with one interface for various underlying implementations.  I don't know enough about the functional overlap of AltiVec with x86 SIMD to know if it is feasible or not though, especially if things like alignment contraints are different for each set.




More information about the Digitalmars-d mailing list