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


Manu <turkey...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |turkey...@gmail.com


--- Comment #9 from Manu <turkey...@gmail.com> 2012-05-24 03:08:55 PDT ---
I'm at the point where I can't reasonably work around this issue anymore.

It's not just for SSE (although that is one very important case), there are
also structures that encapsulate SSE variables (16 byte), structures that must
be L1 line aligned (64/128 bytes), structures that must be GPU page aligned
(4k-ish), virtual page alignment, and occasionally other alignments are
required (for instance, in one case an algorithms performance was near doubled
by aligning to 256 bytes, and squatting a byte of data in the unused low bits
of the pointer)

Structure alignment is really really important, and it's very annoying to
work-around (and often wastes memory in doing so)

As we did with 256bit vectors, can we define the grammar for attributing a
struct with an alignment? Then GDC/LDC can hook it straight up, and DMD can
produce an unsupported message for the time being.

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

Reply via email to