SSE, Inline assembler, Structs, ...

Sascha Katzner sorry.no at spam.invalid
Fri Apr 4 01:10:28 PDT 2008


Audun Wilhelmsen wrote:
> Well I've tried align, align(4) and align(16) in front of struct
> Vec4.. Isn't that supposed to align the data?

Since 1.023...
> Data items in static data segment >= 16 bytes in size are now
> paragraph aligned.

So, you have to put your structs in the static data segment, structs on 
the stack are not properly aligned as far as I know.

LLAP,
Sascha


More information about the Digitalmars-d-learn mailing list