[Bug tree-optimization/66917] [4.9/5/6 regression] ARM: NEON: memcpy compiles to vst1 with incorrect alignment due to SRA

rearnsha at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 30 14:11:00 GMT 2015


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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |tree-optimization

--- Comment #12 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
> but the arm hook seems to say "yes, I can vectorize with V2DImode
> for a vector with element type unsigned long long __attribute__((aligned(1)))"
> which it obviously cannot.

It can vectorize for this case, but the loads must not be marked as aligned
loads.  That is, the mid-end must use the misaligned code hooks.

So I don't think this is a target bug.



More information about the Gcc-bugs mailing list