__restrict, architecture intrinsics vs asm, consoles, and other stuff

Walter Bright newshound2 at digitalmars.com
Thu Sep 22 00:33:14 PDT 2011


On 9/21/2011 10:56 PM, Benjamin Thaut wrote:
> Even if I manually allocate v1,v2 and result, the temporary variable that the
> compiler uses to compute the expression might be unaligned.
> That is a total killer for SSE optimizations because you can not hide them away.
>
> Does DMC++ have __declspec(align(16)) support?

No, but 64 bit DMD aligns the stack on 16 byte boundaries.



More information about the Digitalmars-d mailing list