Re: [Bug 288] strange nonsensical x86-64 code generation with -O3 - rats' nest of useless conditional jumps

2018-03-22 Thread Cecil Ward via D.gnu
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))

[Bug 288] strange nonsensical x86-64 code generation with -O3 - rats' nest of useless conditional jumps

2018-03-22 Thread gdc-bugzilla--- via D.gnu
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. :-

[Bug 288] New: strange nonsensical x86-64 code generation with -O3 - rats' nest of useless conditional jumps

2018-03-22 Thread gdc-bugzilla--- via D.gnu
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

Re: How to report code generation weirdness

2018-03-22 Thread Johannes Pfau via D.gnu
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