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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu.org

--- Comment #8 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Milan Tripkovic from comment #7)
> Hello,
> Bisection points at r17-4707-gec09d7005033eb1f28304af80d888b81bb3063c7.
> The testcase added for PR 124009 now generates worse code.
> 
> example: https://godbolt.org/z/Ycro8xhrv
> 
> asm before this patch:
> 
>         slt     a1,a1,a0
>         slli    a0,a1,1
>         addi    a0,a0,-1
> 
> asm after this patch:
> 
>         slt     a1,a1,a0
>         addi    a0,a1,-1
>         xori    t0,a0,1
>         seqz    t1,a1
>         add     a0,t0,t1

Jeff also reported to the list the same thing.

Reply via email to