public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vineetg at rivosinc dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108987] [13 Regression] RISC-V: shiftadd cost model bug needlessly preferring syth_multiply Date: Mon, 06 Mar 2023 21:50:57 +0000 [thread overview] Message-ID: <bug-108987-4-gz3QthLHru@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108987-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108987 Vineet Gupta <vineetg at rivosinc dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #2 from Vineet Gupta <vineetg at rivosinc dot com> --- This is now merged in trunk commit 7e52f4420ffb0946dfc97704d72fa8aa67251495 Author: Vineet Gupta <vineetg@rivosinc.com> Date: Wed Mar 1 11:53:15 2023 -0800 RISC-V: costs: miscomputed shiftadd_cost triggering synth_mult [PR/108987] This showed up as dynamic icount regression in SPEC 531.deepsjeng with upstream gcc (vs. gcc 12.2). gcc was resorting to synthetic multiply using shift+add(s) even when multiply had clear cost benefit. ....
prev parent reply other threads:[~2023-03-06 21:50 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-01 19:34 [Bug target/108987] New: " vineetg at rivosinc dot com 2023-03-01 19:56 ` [Bug target/108987] " vineetg at rivosinc dot com 2023-03-02 10:11 ` rguenth at gcc dot gnu.org 2023-03-06 21:50 ` vineetg at rivosinc dot com [this message]
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-108987-4-gz3QthLHru@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).