This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65951] [AArch64] Will not vectorize multiplication by long constant
- 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:55:10 +0000
- Subject: [Bug target/65951] [AArch64] Will not vectorize multiplication by long constant
- Auto-submitted: auto-generated
- References: <bug-65951-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65951
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a better example for AARCH64 due to ILP32 using long as 32bits:
void
foo (long long *arr)
{
for (int i = 0; i < 256; i++)
arr[i] *= 19594LL;
}