* Bad performance (with GCC 11.3.0 - O3) of a small etude in C
@ 2022-07-08 4:31 Georgi Marinov
2022-07-08 8:09 ` Martin Liška
0 siblings, 1 reply; 2+ messages in thread
From: Georgi Marinov @ 2022-07-08 4:31 UTC (permalink / raw)
To: gcc
Hi,
just wanted to let you know that I found that GCC 11.3.0 -O3 is generating code with many unnecessary jumps (while CLANG 14.0.1 -O3 not) in a small partitioning (for Quicksort) 15 lines of code etude.
In case you are interested I will submit the three disassembly outputs, plus ICL 19.0 -O3, ICL is horrible in that, ICL 15.0 was good but they ruined their legacy.
Generally, GCC is my target compiler, yet, CLANG is better in my usecases. I would like some of your coders to look it up, my wish is GCC to catch up.
Regards
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bad performance (with GCC 11.3.0 - O3) of a small etude in C
2022-07-08 4:31 Bad performance (with GCC 11.3.0 - O3) of a small etude in C Georgi Marinov
@ 2022-07-08 8:09 ` Martin Liška
0 siblings, 0 replies; 2+ messages in thread
From: Martin Liška @ 2022-07-08 8:09 UTC (permalink / raw)
To: Georgi Marinov, gcc
On 7/8/22 06:31, Georgi Marinov via Gcc wrote:
> Hi,
> just wanted to let you know that I found that GCC 11.3.0 -O3 is generating code with many unnecessary jumps (while CLANG 14.0.1 -O3 not) in a small partitioning (for Quicksort) 15 lines of code etude.
> In case you are interested I will submit the three disassembly outputs, plus ICL 19.0 -O3, ICL is horrible in that, ICL 15.0 was good but they ruined their legacy.
> Generally, GCC is my target compiler, yet, CLANG is better in my usecases. I would like some of your coders to look it up, my wish is GCC to catch up.
>
> Regards
Hi.
Please file a bug here:
https://gcc.gnu.org/bugzilla/
with a reproducer we can take a look.
Thanks,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-08 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08 4:31 Bad performance (with GCC 11.3.0 - O3) of a small etude in C Georgi Marinov
2022-07-08 8:09 ` Martin Liška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).