Hi, On 23 May 2017 at 17:59, Robin Dapp <rd...@linux.vnet.ibm.com> wrote: > gcc/ChangeLog: > > 2017-05-23 Robin Dapp <rd...@linux.vnet.ibm.com> > > * tree-vect-data-refs.c (vect_get_data_access_cost): > Workaround for SLP handling. > (vect_enhance_data_refs_alignment): > Compute costs for doing no peeling at all, compare to the best > peeling costs so far and avoid peeling if cheaper.
Since this commit (r248678), I've noticed regressions on some arm targets. Executed from: gcc.dg/tree-ssa/tree-ssa.exp gcc.dg/tree-ssa/gen-vect-26.c scan-tree-dump-times vect "Alignment of access forced using peeling" 1 gcc.dg/tree-ssa/gen-vect-26.c scan-tree-dump-times vect "Vectorizing an unaligned access" 0 gcc.dg/tree-ssa/gen-vect-28.c scan-tree-dump-times vect "Alignment of access forced using peeling" 1 gcc.dg/tree-ssa/gen-vect-28.c scan-tree-dump-times vect "Vectorizing an unaligned access" 0 For instance with --target arm-linux-gnueabihf --with-cpu=cortex-a5 --with-fpu=vfpv3-d16-fp16 (using cortex-a9+neon makes the test pass). Thanks, Christophe