Thread overview
[Issue 1847] New: Structs aren't alligned on stack
Feb 17, 2008
d-bugmail
[Issue 1847] Structs aren't aligned on stack
Feb 17, 2008
d-bugmail
Jan 15, 2010
Don
February 17, 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@digitalmars.com
        ReportedBy: baryluk@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.


-- 

February 17, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1847


matti.niemenmaa+dbugzilla@iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
            Summary|Structs aren't alligned on  |Structs aren't aligned on
                   |stack                       |stack
            Version|1.027                       |1.026




------- Comment #1 from matti.niemenmaa+dbugzilla@iki.fi  2008-02-17 12:58 -------
1.027 isn't out yet. And this is an enhancement request, not a bug.


-- 

January 15, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1847


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |DUPLICATE


--- Comment #2 from Don <clugdbug@yahoo.com.au> 2010-01-15 04:51:12 PST ---
*** This issue has been marked as a duplicate of issue 2278 ***

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