[Issue 1847] New: Structs aren't alligned on stack

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 17 10:33:02 PST 2008


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

           Summary: Structs aren't alligned on stack
           Product: D
           Version: 1.027
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: baryluk at mpi.int.pl


This is quite important bug, because SSE on x86 needs data alligned to 16 bytes
bonduary. Using opcodes for not alligned data is very slow, and sometimes isn't
even posible.

Implementation can be quite tricky. gcc team created special branch for
automatic stack alligment: http://gcc.gnu.org/ml/gcc/2008-01/msg00282.html .
similar idea can be used in dmd for proper aligment.

This bug report is for tracking purpose.


-- 



More information about the Digitalmars-d-bugs mailing list