diff options
author | Bill Schmidt <wschmidt@linux.ibm.com> | 2012-07-31 21:08:41 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2012-07-31 21:08:41 +0000 |
commit | fdc43210e38125c34a8578e1fb8f7b09c396c14c (patch) | |
tree | 5b69c789cf7c36dd0a03427bb3953c269241cd2b /gcc/tree-ssa-loop-prefetch.c | |
parent | 0e8d854eb8bbfc44c1fd9d2fa6e07514d2932e0e (diff) | |
download | gcc-fdc43210e38125c34a8578e1fb8f7b09c396c14c.zip gcc-fdc43210e38125c34a8578e1fb8f7b09c396c14c.tar.gz gcc-fdc43210e38125c34a8578e1fb8f7b09c396c14c.tar.bz2 |
rs6000.c (rs6000_builtin_vectorization_cost): Revise costs for vec_perm and vec_promote_demote down to more natural values.
2012-07-31 Bill Schmidt <wschmidt@linux.ibm.com>
* config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Revise
costs for vec_perm and vec_promote_demote down to more natural values.
(struct _rs6000_cost_data): New data structure.
(rs6000_density_test): New function.
(rs6000_init_cost): Change to use rs6000_cost_data.
(rs6000_add_stmt_cost): Likewise.
(rs6000_finish_cost): Perform density test when vectorizing a loop.
From-SVN: r190019
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions