D generates large assembly for simple function

kdevel kdevel at vogtner.de
Sat Jan 27 20:20:35 UTC 2018


On Saturday, 27 January 2018 at 19:43:50 UTC, Stefan Koch wrote:
> On Saturday, 27 January 2018 at 19:42:01 UTC, Matt wrote:
>> Godbolt link: https://godbolt.org/g/t5S976
> The actual code is :
>  imul edi, edi
>  mov eax, edi
>  ret

Could you please paste the source code? I mean in say 5 years 
when there will be no more godbolt.org someone reading this 
thread will not know what it was about.


More information about the Digitalmars-d-learn mailing list