dmd codegen improvements

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 29 02:16:31 PDT 2015


On Tuesday, 18 August 2015 at 10:45:49 UTC, Walter Bright wrote:
> I'm interested in ways to reduce that gap.
>
> There are 3 broad kinds of optimizations that compilers do:
>
> 1. source translations like rewriting x*2 into x<<1, and 
> function inlining
>
> So if you're comparing code generated by dmd/gdc/ldc, and 
> notice something that dmd could do better at (1, 2 or 3), 
> please let me know.

One low-hanging fruit coming right up:
https://issues.dlang.org/show_bug.cgi?id=14840


More information about the Digitalmars-d mailing list