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 <vine...@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.

....

Reply via email to