public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds Date: Sun, 26 Dec 2021 06:27:51 +0000 [thread overview] Message-ID: <bug-97717-4-GhtmGMhIlu@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-97717-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- fillLUTDIV is basically one big function (one BB) which does: inp[...] = ...; 1019 times fillLUTNEGEXP does the same thing 33659 times. I assume these are generated functions. It might be better to have static const array which you do a copy from, either memcpy or somehow ever. This will improve the compile time speed by a lot and maybe even the runtime speed too.
next prev parent reply other threads:[~2021-12-26 6:27 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-04 17:06 [Bug tree-optimization/97717] New: " kranti.rkiran at gmail dot com 2020-11-04 17:12 ` [Bug tree-optimization/97717] " kranti.rkiran at gmail dot com 2020-11-05 7:38 ` rguenth at gcc dot gnu.org 2020-11-17 10:20 ` kranti.rkiran at gmail dot com 2021-12-26 6:14 ` pinskia at gcc dot gnu.org 2021-12-26 6:18 ` [Bug middle-end/97717] " pinskia at gcc dot gnu.org 2021-12-26 6:27 ` pinskia at gcc dot gnu.org [this message] 2021-12-26 6:37 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-97717-4-GhtmGMhIlu@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).