2014-04-07 Michael Collison <michael.collison@linaro.org>
commit2faa4ec25f2a7e26c9727d96eeb8c5e25c68011d
authoryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Apr 2014 13:31:40 +0000 (7 13:31 +0000)
committeryroux <yroux@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Apr 2014 13:31:40 +0000 (7 13:31 +0000)
treee05bba09d28be17ee472b4d47d08ad6cff6fc9ef
parent833e936e89bcce407c720d6550dc5d04fad01491
2014-04-07  Michael Collison  <michael.collison@linaro.org>

gcc/
        Backport from trunk r202663
        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.

testsuite/
        Backport from trunk r202663
        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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro@209188 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8-branch/gcc/ChangeLog.linaro
gcc-4_8-branch/gcc/testsuite/ChangeLog.linaro
gcc-4_8-branch/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-s16c.c [new file with mode: 0644]
gcc-4_8-branch/gcc/tree-vect-patterns.c