diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2016-07-14 14:32:39 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-07-14 14:32:39 +0000 |
commit | 53109ba8a720c135a79b6536c79350e6f1a45895 (patch) | |
tree | b79ce2c9e3e5d2c590ca6cd9941695f230913329 /gcc/tree-data-ref.c | |
parent | 0c15a902d1eb8d9b2be4eeced2a500c4a8a25152 (diff) | |
download | gcc-53109ba8a720c135a79b6536c79350e6f1a45895.zip gcc-53109ba8a720c135a79b6536c79350e6f1a45895.tar.gz gcc-53109ba8a720c135a79b6536c79350e6f1a45895.tar.bz2 |
[vectorizer][2/2] Hook up mult synthesis logic into vectorisation of mult-by-constant
PR target/65951
PR tree-optimization/70923
* tree-vect-patterns.c: Include mult-synthesis.h.
(target_supports_mult_synth_alg): New function.
(synth_lshift_by_additions): Likewise.
(apply_binop_and_append_stmt): Likewise.
(vect_synth_mult_by_constant): Likewise.
(target_has_vecop_for_code): Likewise.
(vect_recog_mult_pattern): Use above functions to synthesize vector
multiplication by integer constants.
* gcc.dg/vect/vect-mult-const-pattern-1.c: New test.
* gcc.dg/vect/vect-mult-const-pattern-2.c: Likewise.
* gcc.dg/vect/pr65951.c: Likewise.
* gcc.dg/vect/vect-iv-9.c: Remove ! vect_int_mult-specific scan.
From-SVN: r238340
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions