Aligning data in memory / on the stack
bearophile
bearophileHUGS at lycos.com
Fri Sep 16 13:09:27 PDT 2011
Peter Alexander:
> Is there a way to align data on the stack? In particular, I want to
> create an 16-byte aligned array of floats to load into XMM registers
> using movaps, which is significantly faster than movups.
Yours is a legitimate desire. I remember Don asking for this several times, and I remember Walter answering it's not an easy thing to do. I don't remember the current status of this. If others here later don't give you a good enough answer I suggest you to ask again in the main D newsgroup.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list