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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=114134
             Target|X86_64                      |x86_64
           Keywords|                            |needs-bisection

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
aarch64 is okish (it is one instruction more than LLVM):
        sub     x3, x0, x1
        and     x2, x2, 255
        cmp     x3, x2
        ccmp    x0, x1, 0, cs
        sub     x0, x3, x2
        cset    x1, cc
        ret

Reply via email to