diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2016-12-02 08:25:27 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2016-12-02 08:25:27 +0000 |
commit | 7f5fc63362a675a216f1475bb08fd42d8274f8cf (patch) | |
tree | 0622db93e3d416b514fe9512047a44cc2859f782 /gcc/combine.c | |
parent | 9ad49cdb5340bcaab0ecc0574ed754af9ba71283 (diff) | |
download | gcc-7f5fc63362a675a216f1475bb08fd42d8274f8cf.zip gcc-7f5fc63362a675a216f1475bb08fd42d8274f8cf.tar.gz gcc-7f5fc63362a675a216f1475bb08fd42d8274f8cf.tar.bz2 |
S/390: Define vectorization_cost hook
Define the vectorization_cost hook. The only change right now
compared to the default implementation is the reduced costs for
unaligned loads/stores. This is supposed to prevent unnecessary loop
peeling performed to reach better alignments.
Further tuning of this hook is required.
-Andreas-
gcc/ChangeLog:
2016-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc/config/s390/s390.c (s390_builtin_vectorization_cost): New
function.
(TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Define target
macro.
gcc/testsuite/ChangeLog:
2016-12-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.target/s390/vector/vec-nopeel-1.c: New test.
From-SVN: r243158
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions