diff options
author | Alan Hayward <alan.hayward@arm.com> | 2015-10-23 12:40:33 +0000 |
---|---|---|
committer | Alan Hayward <alahay01@gcc.gnu.org> | 2015-10-23 12:40:33 +0000 |
commit | af29617a50b430ad3e9f2842fe31335d4488d1d3 (patch) | |
tree | ec11a15022b2040f90b22b7cbb903f7113eb29ec /gcc/ada/init.c | |
parent | f3bf0d9a5805754b9cc449b8d8d5c64d9e98361a (diff) | |
download | gcc-af29617a50b430ad3e9f2842fe31335d4488d1d3.zip gcc-af29617a50b430ad3e9f2842fe31335d4488d1d3.tar.gz gcc-af29617a50b430ad3e9f2842fe31335d4488d1d3.tar.bz2 |
Support for vectorizing conditional expressions
2015-10-23 Alan Hayward <alan.hayward@arm.com>
gcc/
PR tree-optimization/65947
* tree-vect-loop.c
(vect_is_simple_reduction_1): Find condition reductions.
(vect_model_reduction_cost): Add condition reduction costs.
(get_initial_def_for_reduction): Add condition reduction initial var.
(vect_create_epilog_for_reduction): Add condition reduction epilog.
(vectorizable_reduction): Condition reduction support.
* tree-vect-stmts.c (vectorizable_condition): Add vect reduction arg
* doc/sourcebuild.texi (Vector-specific attributes): Document
vect_max_reduc
gcc/testsuite
PR tree-optimization/65947
* lib/target-supports.exp
(check_effective_target_vect_max_reduc): Add.
* gcc.dg/vect/pr65947-1.c: New test.
* gcc.dg/vect/pr65947-2.c: New test.
* gcc.dg/vect/pr65947-3.c: New test.
* gcc.dg/vect/pr65947-4.c: New test.
* gcc.dg/vect/pr65947-5.c: New test.
* gcc.dg/vect/pr65947-6.c: New test.
* gcc.dg/vect/pr65947-7.c: New test.
* gcc.dg/vect/pr65947-8.c: New test.
* gcc.dg/vect/pr65947-9.c: New test.
* gcc.dg/vect/pr65947-10.c: New test.
* gcc.dg/vect/pr65947-11.c: New test.
From-SVN: r229245
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions