www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14133] New: change in struct ctor lowering generates


          Issue ID: 14133
           Summary: change in struct ctor lowering generates excessive
                    init code
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: performance
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

Spin-off issue from: https://issues.dlang.org/show_bug.cgi?id=13952

 The amount of code generated for the constructor is still worrisome.
 Especially the part that initializes X86Reg, because it initializes every
field individually, it constructs a temporary on the stack only to end up
loading zero into edx.
Feb 06 2015