https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129142

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2026-12-01
             Status|UNCONFIRMED                 |NEW
   Target Milestone|---                         |14.5

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed reporter's analysis. Pre-r14-1295 combine folded the ctz pattern into
sub and addi (5 insns). Since r14-1295 introduced *subsi3_from_const, 31 - t
matches *subsi3_from_const (addi + neg), leaving the addition of a as an extra
instruction (6 insns).

Reply via email to