re PR tree-optimization/50969 (17% degradation in 168.wupwise for interleave via...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 6 Feb 2012 21:39:34 +0000 (21:39 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Mon, 6 Feb 2012 21:39:34 +0000 (21:39 +0000)
commitc5f14d626e38bf94e2cf8d3bda0409c2c4de1fe6
treeccea64a899c732644dc9afe3e841813e2b2019bc
parent9903b69dbd7197ab5ea9a2f8e349d648df0e3f14
re PR tree-optimization/50969 (17% degradation in 168.wupwise for interleave via permutation)

2012-02-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/50969
* tree-vect-stmts.c (vect_model_store_cost): Correct statement cost to
use vec_perm rather than vector_stmt.
(vect_model_load_cost): Likewise.
* config/i386/i386.c (ix86_builtin_vectorization_cost): Change cost of
vec_perm to be the same as other vector statements.
* config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Revise
cost of vec_perm for TARGET_VSX.

From-SVN: r183944
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/rs6000/rs6000.c
gcc/tree-vect-stmts.c