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

Milan Tripkovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Milan Tripkovic <[email protected]> ---
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

Reply via email to