This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r215024 - in /branches/gcc-4_8-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 08 Sep 2014 20:07:29 -0000
- Subject: r215024 - in /branches/gcc-4_8-branch/gcc: Chan...
Author: jakub
Date: Mon Sep 8 20:07:29 2014
New Revision: 215024
URL: https://gcc.gnu.org/viewcvs?rev=215024&root=gcc&view=rev
Log:
PR tree-optimization/60196
PR tree-optimization/63189
Backported from mainline
2013-09-17 Cong Hou <congh@google.com>
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Fix a bug
when checking the dot production pattern. The type of rhs operand
of multiply is now checked correctly.
* gcc.dg/vect/pr63189.c: New test.
* gcc.dg/vect/pr60196-1.c: New test.
* gcc.dg/vect/pr60196-2.c: New test.
Backported from mainline
2013-09-17 Cong Hou <congh@google.com>
* gcc.dg/vect/vect-reduc-dot-s16c.c: Add a test case with dot product
on two arrays with short and int types. This should not be recognized
as a dot product pattern.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr60196-1.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr60196-2.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/pr63189.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16c.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-vect-patterns.c