This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65952] [AArch64] Will not vectorize storing induction of pointer addresses
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Apr 2015 18:48:25 +0000
- Subject: [Bug target/65952] [AArch64] Will not vectorize storing induction of pointer addresses
- Auto-submitted: auto-generated
- References: <bug-65952-4 at http dot gcc dot gnu dot org/bugzilla/>
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