ChangeLog: * target.def (vector_alignment): New target hook. * doc/tm.texi.in (TARGET_VECTOR_ALIGNMENT): Document new hook. * doc/tm.texi: Regenerate. * targhooks.c (default_vector_alignment): New function. * targhooks.h (default_vector_alignment): Add prototype. * stor-layout.c (layout_type): Use targetm.vector_alignment. * config/arm/arm.c (arm_vector_alignment): New function. (TARGET_VECTOR_ALIGNMENT): Define. * tree-vect-data-refs.c (vect_update_misalignment_for_peel): Use vector type alignment instead of size. * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Use element type size directly instead of computing it from alignment. Fix variable naming and comment. testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vect_natural_alignment): New function. * gcc.dg/align-2.c: Only run on targets with natural alignment of vector types. * gcc.dg/vect/slp-25.c: Adjust tests for targets without natural alignment of vector types. Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r189974
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
c-compat.exp | Loading commit data... | |
c-torture.exp | Loading commit data... | |
compat.exp | Loading commit data... | |
copy-file.exp | Loading commit data... | |
dejapatches.exp | Loading commit data... | |
dg-pch.exp | Loading commit data... | |
file-format.exp | Loading commit data... | |
fortran-modules.exp | Loading commit data... | |
fortran-torture.exp | Loading commit data... | |
g++-dg.exp | Loading commit data... | |
g++.exp | Loading commit data... | |
gcc-defs.exp | Loading commit data... | |
gcc-dg.exp | Loading commit data... | |
gcc-gdb-test.exp | Loading commit data... | |
gcc-simulate-thread.exp | Loading commit data... | |
gcc.exp | Loading commit data... | |
gcov.exp | Loading commit data... | |
gfortran-dg.exp | Loading commit data... | |
gfortran.exp | Loading commit data... | |
gnat-dg.exp | Loading commit data... | |
gnat.exp | Loading commit data... | |
go-dg.exp | Loading commit data... | |
go-torture.exp | Loading commit data... | |
go.exp | Loading commit data... | |
lto.exp | Loading commit data... | |
mike-g++.exp | Loading commit data... | |
mike-gcc.exp | Loading commit data... | |
obj-c++-dg.exp | Loading commit data... | |
obj-c++.exp | Loading commit data... | |
objc-dg.exp | Loading commit data... | |
objc-torture.exp | Loading commit data... | |
objc.exp | Loading commit data... | |
options.exp | Loading commit data... | |
plugin-support.exp | Loading commit data... | |
profopt.exp | Loading commit data... | |
prune.exp | Loading commit data... | |
scanasm.exp | Loading commit data... | |
scandump.exp | Loading commit data... | |
scanipa.exp | Loading commit data... | |
scanrtl.exp | Loading commit data... | |
scantree.exp | Loading commit data... | |
target-libpath.exp | Loading commit data... | |
target-supports-dg.exp | Loading commit data... | |
target-supports.exp | Loading commit data... | |
timeout-dg.exp | Loading commit data... | |
timeout.exp | Loading commit data... | |
torture-options.exp | Loading commit data... | |
wrapper.exp | Loading commit data... |