[Bug tree-optimization/60236] gfortran.dg/vect/pr32380.f fails on ARM

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Mon Feb 17 20:26:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60236

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
hmm...

I just looked at PR#52229.
At least on PowerPC many more loops are not vectorizable.
because of unaligned access.

Jakub's last comment there is that the xfail
should be based on the vect_hw_misaling attribute.

Well, but the problem on ARMv7 was not about misalignment
instead it was about we can not vectorize the SQRT on Arm,
and certainly not on IA64, because they have no
builtin-vectorized-function hook at all:

       set et_vect_hw_misalign_saved 0
       if { ([istarget x86_64-*-*]
            || [istarget aarch64*-*-*]
            || [istarget i?86-*-*]) } {
          set et_vect_hw_misalign_saved 1
       }

is this correct for ARM?
Or can the ARM CPU vectorize unaligned data,
I think they just have to know if the data is aligned or not,
and choose different opcodes?



More information about the Gcc-bugs mailing list