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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
if we use -mabi=ilp32, we can see it is vectorized:
loop:
        adrp    x0, array
        adrp    x1, ptrs
        ldr     q1, .LC0
        add     x3, x1, :lo12:ptrs
        ldr     w2, [x0, #:lo12:array]
        dup     v0.4s, w2
        add     v2.4s, v0.4s, v1.4s
        str     q2, [x3]
        ret

Reply via email to