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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So even though we can vectorize this loop these days, the non-vectorized loop
still has the load each iteration.
at -O2:
.L3:
        movl    (%ecx), %edx
        addl    $4, %eax
        movl    %edx, -4(%eax)
        cmpl    %ebx, %eax
        jne     .L3

Reply via email to