Regression - quality of generated x86-64 code between GDC v12.3 and v13.1

Iain Buclaw ibuclaw at gdcproject.org
Thu Jun 8 11:39:38 UTC 2023


On Thursday, 8 June 2023 at 04:13:30 UTC, Cecil Ward wrote:
> I wrote a very small procedure in D and the x86-64 asm code 
> generated in GDC 12.3 was excellent whereas that from 13.1 was 
> insanely bloated, totally different. Note: the badness is 
> independent of the -On optimisation level (-O3 used initially.)
>

So you're saying that a 4-int struct is not being treated as 
equivalent to an `int[4]`?

https://d.godbolt.org/z/G77fW48xG

If possible, a bug report would be great on this.

Thanks.


More information about the D.gnu mailing list