target.h (enum vect_cost_for_stmt): Add vec_gather_load and vec_scatter_store
authorJan Hubicka <hubicka@ucw.cz>
Tue, 17 Oct 2017 17:35:54 +0000 (19:35 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 17 Oct 2017 17:35:54 +0000 (17:35 +0000)
commitcc9fe6bbd78a0b1740c5c1c5713d36e3da6e7165
treee78cd4c746e37e3704a970e517a94b3df6a8bdee
parent7061821d4aa300b600f689cadb994d7658600414
target.h (enum vect_cost_for_stmt): Add vec_gather_load and vec_scatter_store

* target.h (enum vect_cost_for_stmt): Add vec_gather_load and
vec_scatter_store
* tree-vect-stmts.c (record_stmt_cost): Make difference between normal
and scatter/gather ops.

* aarch64/aarch64.c (aarch64_builtin_vectorization_cost): Add
vec_gather_load and vec_scatter_store.
* arm/arm.c (arm_builtin_vectorization_cost): Likewise.
* powerpcspe/powerpcspe.c (rs6000_builtin_vectorization_cost): Likewise.
* rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Likewise.
* s390/s390.c (s390_builtin_vectorization_cost): Likewise.
* spu/spu.c (spu_builtin_vectorization_cost): Likewise.

From-SVN: r253823
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/arm/arm.c
gcc/config/powerpcspe/powerpcspe.c
gcc/config/rs6000/rs6000.c
gcc/config/s390/s390.c
gcc/config/spu/spu.c
gcc/target.h
gcc/tree-vect-stmts.c