dmd optimizer now converted to D!

rikki cattermole rikki at cattermole.co.nz
Wed Jul 4 16:55:09 UTC 2018


On 05/07/2018 4:06 AM, jmh530 wrote:
> On Tuesday, 3 July 2018 at 23:05:00 UTC, rikki cattermole wrote:
>>
>> On that note, I have a little experiment that I'd like to see done.
>> How would the codegen change, if you were to triple the time the 
>> optimizer had to run?
> 
> Would it make any difference to compile DMD with LDC?

We already know the answer to this, and the answer is yes. Dmd does run 
faster. But that isn't what I'm interested in.

What I want to know is if dmd will produce better code if you give the 
optimizer longer time to run. Because right now that is the limiting factor.

For older hardware like 20 years ago, the number being used might be 
quite desirable, but perhaps we can fine tune it a bit and get 
drastically better results. Who knows? Gotta test that out!


More information about the Digitalmars-d mailing list