This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/70923] [7 regression] gcc.dg/vect/pr60092.c etc. FAIL
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Jul 2016 14:33:11 +0000
- Subject: [Bug tree-optimization/70923] [7 regression] gcc.dg/vect/pr60092.c etc. FAIL
- Auto-submitted: auto-generated
- References: <bug-70923-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70923
--- Comment #10 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Jul 14 14:32:39 2016
New Revision: 238340
URL: https://gcc.gnu.org/viewcvs?rev=238340&root=gcc&view=rev
Log:
[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.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr65951.c
trunk/gcc/testsuite/gcc.dg/vect/vect-mult-const-pattern-1.c
trunk/gcc/testsuite/gcc.dg/vect/vect-mult-const-pattern-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/vect/vect-iv-9.c
trunk/gcc/tree-vect-patterns.c