DMD backend quality (Was: Re: DIP 1031--Deprecate Brace-Style Struct Initializers--Community Review Round 1 Discussion)

rikki cattermole rikki at cattermole.co.nz
Sun Feb 16 22:29:01 UTC 2020


On 17/02/2020 11:15 AM, Walter Bright wrote:
> On 2/16/2020 2:52 AM, NaN wrote:
>> I was seeing worse than that last time i used DMD, it was mostly int 
>> code, no fpu, and it was around 60% slower with DMD than LDC. Haven't 
>> used it since. SIMD support with DMD was awful at the time too, dont 
>> know if thats improved.
> 
> The SIMD code was substantially improved a year or two ago. I added 
> common subexpression support and improved the register allocator for it.
> 
> The main problem is I made a mistake in putting the inliner in the DMD 
> front end. It should be in the back end, where it'll be a lot more 
> effective.

Perhaps you could mentor somebody in say SaoC to build that up?

A chance to do that for an inspiring compiler dev would be invaluable.


More information about the Digitalmars-d mailing list