https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43422
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.0 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Vectorizes for me on aarch64-linux-gnu with GCC 5.4: .L8: ldr q0, [x5, x0] add w1, w1, 1 ldr q1, [x4, x0] cmp w2, w1 tbl v0.16b, {v0.16b}, v2.16b tbl v1.16b, {v1.16b}, v2.16b add v0.4s, v0.4s, v1.4s tbl v0.16b, {v0.16b}, v2.16b str q0, [x3, x0] sub x0, x0, #16 bhi .L8