www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1847] New: Structs aren't alligned on stack

reply d-bugmail puremagic.com writes:
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.


-- 
Feb 17 2008
next sibling parent d-bugmail puremagic.com writes:
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





-------
1.027 isn't out yet. And this is an enhancement request, not a bug.


-- 
Feb 17 2008
prev sibling parent d-bugmail puremagic.com writes:
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



*** 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: -------
Jan 15 2010