http://d.puremagic.com/issues/show_bug.cgi?id=4400



--- Comment #2 from bearophile_h...@eml.cc 2010-06-28 09:52:04 PDT ---
I have not found the thread where this was announced, you can ask to other
people about this. I remember a "recent" change in the D GC to ensure the 16
byte alignment of the dynamic arrays and structs.

The 16 bytes alignment was introduced because instructions like the SSE2 movapd
need 16 byte alignment:
http://en.wikipedia.org/wiki/MOVAPD

I have recently used it here:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=112670

And some other SSE* instructions work with 8 byte alignment too, but they are
slower (future CPUs can remove such alignment requirements, some of it has
being removed already, so in that future the GC can go back giving 8 bytes
aligned memory).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to