Bug 1847 – Structs aren't aligned on stack

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-02-17T12:32:00Z
Last change time
2014-02-24T15:32:32Z
Assigned to
nobody
Creator
witold.baryluk+d

Comments

Comment #0 by witold.baryluk+d — 2008-02-17T12:32:58Z
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.
Comment #1 by matti.niemenmaa+dbugzilla — 2008-02-17T12:58:45Z
1.027 isn't out yet. And this is an enhancement request, not a bug.
Comment #2 by clugdbug — 2010-01-15T04:51:12Z
*** This issue has been marked as a duplicate of issue 2278 ***