diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2017-05-16 20:18:05 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2017-05-16 20:18:05 +0000 |
commit | 4fc5ebf12924235c9b88a2c645624bc8b1ea266c (patch) | |
tree | 10188067ad9955e728e5cf75a7076e0a75af421a /gcc/ChangeLog | |
parent | bedee914ca77688f4c2d9138216b3a3b84fbb619 (diff) | |
download | gcc-4fc5ebf12924235c9b88a2c645624bc8b1ea266c.zip gcc-4fc5ebf12924235c9b88a2c645624bc8b1ea266c.tar.gz gcc-4fc5ebf12924235c9b88a2c645624bc8b1ea266c.tar.bz2 |
re PR tree-optimization/80457 (vectorizable_condition does not update the vectorizer cost model)
[gcc]
2017-05-16 James Greenhalgh <james.greenhalgh@arm.com>
Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/80457
* tree-vect-stmts.c (vect_model_simple_cost): Model the cost
of all arguments to a statement as scalar_to_vec operations.
(vectorizable_call): Adjust call to vect_model_simple_cost for
new parameter.
(vectorizable_conversion): Likewise.
(vectorizable_assignment): Likewise.
(vectorizable_shift): Likewise.
(vectorizable_operation): Likewise.
(vectorizable_comparison): Likewise.
(vect_is_simple_cond): Record the def types for operands.
(vectorizable_condition): Likewise, call vect_model_simple_cost.
* tree-vectorizer.h (vect_model_simple_cost): Add new parameter
for statement argument count.
[gcc/testsuite]
2017-05-16 James Greenhalgh <james.greenhalgh@arm.com>
Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/80457
* gcc.target/powerpc/pr78604.c: Verify that vectorized COND_EXPRs
call vect_model_simple_cost.
Co-Authored-By: Bill Schmidt <wschmidt@linux.vnet.ibm.com>
From-SVN: r248130
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cdda6d..25a2d3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +2017-05-16 James Greenhalgh <james.greenhalgh@arm.com> + Bill Schmidt <wschmidt@linux.vnet.ibm.com> + + PR tree-optimization/80457 + * tree-vect-stmts.c (vect_model_simple_cost): Model the cost + of all arguments to a statement as scalar_to_vec operations. + (vectorizable_call): Adjust call to vect_model_simple_cost for + new parameter. + (vectorizable_conversion): Likewise. + (vectorizable_assignment): Likewise. + (vectorizable_shift): Likewise. + (vectorizable_operation): Likewise. + (vectorizable_comparison): Likewise. + (vect_is_simple_cond): Record the def types for operands. + (vectorizable_condition): Likewise, call vect_model_simple_cost. + * tree-vectorizer.h (vect_model_simple_cost): Add new parameter + for statement argument count. + 2017-05-16 Carl Love <cel@us.ibm.com> * config/rs6000/rs6000-c: Add support for built-in functions |