I have seen big slowdowns (factor 5.7 on a Rocket Lake with gcc-14.2)
from gcc's auto-vectorization for the bubble-sort benchmark of John Hennessy's collection of small integer benchmarks.
Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
I have seen big slowdowns (factor 5.7 on a Rocket Lake with gcc-14.2)
from gcc's auto-vectorization for the bubble-sort benchmark of John
Hennessy's collection of small integer benchmarks.
What is the PR number?
Thomas Koenig <tkoenig@netcologne.de> writes:
Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
I have seen big slowdowns (factor 5.7 on a Rocket Lake with
gcc-14.2) from gcc's auto-vectorization for the bubble-sort
benchmark of John Hennessy's collection of small integer
benchmarks.
What is the PR number?
By now you should know that I consider gcc bug reports a waste of
time. I last told you that in
<2025Jul15.080403@mips.complang.tuwien.ac.at> and gave PR93811 as an
example where I have wasted my time with creating a PR, and the status
of this PR has not changed in the meantime.
You seem to think that it is worthwhile creating gcc bug reports, so
go ahead and create one yourself. I think the web page contains all information necessary, but if you miss something, let me know.
- anton
Thomas Koenig <tkoenig@netcologne.de> writes:
Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb:
I have seen big slowdowns (factor 5.7 on a Rocket Lake with gcc-14.2)
from gcc's auto-vectorization for the bubble-sort benchmark of John
Hennessy's collection of small integer benchmarks.
What is the PR number?
By now you should know that I consider gcc bug reports a waste of
time.
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't really
count.
Michael S <already5chosen@yahoo.com> schrieb:
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't
really count.
The case in point appears to be a regression, which are supposed to be
fixed, and receive much higher attention than "normal" bugs.
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't really
count.
On Sun, 1 Feb 2026 00:33:15 -0000 (UTC)
Thomas Koenig <tkoenig@netcologne.de> wrote:
Michael S <already5chosen@yahoo.com> schrieb:
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't
really count.
The case in point appears to be a regression, which are supposed to be
fixed, and receive much higher attention than "normal" bugs.
According to my experience, it could receive higher attention than
average pessimization case, but there is close to zero chance
that it would be fixed at the end.
The typical scenario for such cases is that they "fall between chairs"
of tree optimization and target code generation and neither party is
taking responsibility.
Michael S <already5chosen@yahoo.com> schrieb:
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't really
count.
The case in point appears to be a regression, which are supposed to be
fixed, and receive much higher attention than "normal" bugs.
Michael S <already5chosen@yahoo.com> schrieb:
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't
really count.
Maybe some figures to put this into perspective.
In 2025, 593 missed-optimization bugs were closed, most of them
marked as fixed, 528 new ones were submitted. As of today, there
are 3672 missed-optimization bugs open, so we are looking at arount
a 6 year average turnover.
97 missed-optimization regressions were submitted in 2025, with
174 of them closed, with 318 missed-optimization regressions open
right now, so it is more of a two-year average turnover (and
there seems to be progress in reducing those).
I chose 2025 because it is easy to search for; it does not
correspond to a gcc release cycle.
I very rarely submit "missed optimization" bugs.
As far as I am concerned, missed optimization is not a bug, it is
business as usual, with the hope of improvement in the future.
My cases are nearly always "compiler tries too be too smart with
horrible consequences" rather than "compiler is too stupid".
Michael S <already5chosen@yahoo.com> schrieb:
On Sun, 1 Feb 2026 00:33:15 -0000 (UTC)
Thomas Koenig <tkoenig@netcologne.de> wrote:
Michael S <already5chosen@yahoo.com> schrieb:
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't
really count.
The case in point appears to be a regression, which are supposed
to be fixed, and receive much higher attention than "normal" bugs.
According to my experience, it could receive higher attention than
average pessimization case, but there is close to zero chance
that it would be fixed at the end.
The typical scenario for such cases is that they "fall between
chairs" of tree optimization and target code generation and neither
party is taking responsibility.
Do you have an example?
On Sun, 1 Feb 2026 09:16:27 -0000 (UTC)
Thomas Koenig <tkoenig@netcologne.de> wrote:
Michael S <already5chosen@yahoo.com> schrieb:
I had above-zero success rate with gcc bug reports related to
compiler pessimization. May be, 10%. May be even 15%. I didn't
really count.
Maybe some figures to put this into perspective.
In 2025, 593 missed-optimization bugs were closed, most of them
marked as fixed, 528 new ones were submitted. As of today, there
are 3672 missed-optimization bugs open, so we are looking at arount
a 6 year average turnover.
97 missed-optimization regressions were submitted in 2025, with
174 of them closed, with 318 missed-optimization regressions open
right now, so it is more of a two-year average turnover (and
there seems to be progress in reducing those).
I chose 2025 because it is easy to search for; it does not
correspond to a gcc release cycle.
I very rarely submit "missed optimization" bugs.
As far as I am concerned, missed optimization is not a bug, it is
business as usual, with the hope of improvement in the future.
My cases are nearly always "compiler tries too be too smart with
horrible consequences" rather than "compiler is too stupid".
Here is a good example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105617
By chance, it is remotely related to Anton's case.
Michael S <already5chosen@yahoo.com> schrieb:
Here is a good example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105617
By chance, it is remotely related to Anton's case.
That's a good one, and would apparently quite some work to fix.
I've pinged it, BTW.
By the way, regarding your quota of fixed bugs: I see 15 bugs
submitted, 3 as WONTFIX, 5 as FIXED. If you take out the WONTFIX
(for an architecture which is no longer supported due to lack of
a maintainer), you have a 42% success quota so far, at least for
the e-mail address in the PR, not 10-15% as you estimated.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,096 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 398:09:28 |
| Calls: | 14,036 |
| Calls today: | 2 |
| Files: | 187,082 |
| D/L today: |
2,450 files (1,578M bytes) |
| Messages: | 2,479,082 |