[Issue 14133] New: change in struct ctor lowering generates excessive init code

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 6 05:54:27 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14133

          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 at puremagic.com
          Reporter: k.hara.pg at 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.

--


More information about the Digitalmars-d-bugs mailing list