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

Iain Buclaw ibuclaw at gdcproject.org
Sat Jul 1 10:07:55 UTC 2023


On Thursday, 8 June 2023 at 11:39:38 UTC, Iain Buclaw wrote:
> 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.

Fix has been committed to mainline and gcc-13.

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f2eeda5652438fe783d4e3878139481a1b8606b6;hp=09124b7ed7709721e86556b4083ef40925d7489b



More information about the D.gnu mailing list