Hello,

Is it possible to declare a (SSE friendly) record or array type, so that local variables of this type get aligned to e.g. 16 bytes? Target is x86_64 with aligned stack.
The {$codealign localmin=16} directive seems to work, but it is an ugly 
solution because:
 - it must be effective at all places where variables of the given type are 
declared,
 - it aligns all other local variables that do not need to be aligned.

Regards,
Sergei
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to