align(16) struct member throws an exception with movdqa
Jonathan M Davis
jmdavisProg at gmx.com
Wed Jun 13 22:23:28 PDT 2012
On Thursday, June 14, 2012 00:17:25 Sean Cavanaugh wrote:
> On 6/11/2012 7:15 AM, Trass3r wrote:
> >> I think it has been fixed for the next version of DMD already. Any
> >> idea why align isn't letting me use movdqa?
> >
> > Cause align doesn't work the way you think it does.
> > In fact I still don't understand how it works at all.
>
> The language align keyword can only reduce the alignment from the
> platform default (typically 8). A serious flaw if you ask me . . . .
Then open an enhancement request. If there's a good enough reason that align
should work the way that you want it to and not a sufficiently good reason why
it shouldn't, then Walter may be willing to make the change. It may be that
nothing will change, but it doesn't hurt to ask.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list