On Thursday, 22 March 2018 at 22:16:16 UTC, Iain Buclaw wrote:
https://bugzilla.gdcproject.org/show_bug.cgi?id=288
--- Comment #1 from Iain Buclaw ---
See the long list of useless conditional jumps towards the end
of the first function in the asm output (whose demangled name
is test.t1(unit))
https://bugzilla.gdcproject.org/show_bug.cgi?id=288
--- Comment #1 from Iain Buclaw ---
> See the long list of useless conditional jumps towards the end of the first
> function in the asm output (whose demangled name is test.t1(unit))
Well, you'd never use -O3 if you care about speed anyway. :-
https://bugzilla.gdcproject.org/show_bug.cgi?id=288
Bug ID: 288
Summary: strange nonsensical x86-64 code generation with -O3 -
rats' nest of useless conditional jumps
Product: GDC
Version: 7.x
Hardware: x86_64
Am Tue, 20 Mar 2018 23:06:23 + schrieb Cecil Ward:
> How do I report some extremely weird (useless) code generated by GDC
> when the -O3 option is used? (bizarre rats’ nest of conditional jumps).
> [I am an experienced professional asm programmer, now retired.]
>
> The D source is short, fort