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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
f:
        mov     w1, 18725
        movk    w1, 0x2492, lsl 16
        umull   x1, w0, w1
        lsr     x1, x1, 32
        sub     w0, w0, w1
        add     w0, w1, w0, lsr 1
        lsr     w0, w0, 2
        ret

vs:
f:
        mov     x8, #2684354560
        mov     w9, w0
        movk    x8, #18724, lsl #32
        movk    x8, #9362, lsl #48
        umulh   x0, x9, x8
        ret


The current state is at:
https://gcc.gnu.org/pipermail/gcc-patches/2026-June/720886.html

I will need to double check but I think it is close to approval.

Reply via email to