* tree-vect-patterns.c (vect_recog_rotate_pattern): For
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2013 09:13:33 +0000 (09:13 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2013 09:13:33 +0000 (09:13 +0000)
commit0a015fc7d93763ffacb318ca09ce6ff421c4e116
treea4d3a746419a4a5e8ccd17a8b13d9a8d167337e5
parent806312312be4b8f2221e24b1c8948d699f951c50
* tree-vect-patterns.c (vect_recog_rotate_pattern): For
vect_external_def oprnd1 with loop_vinfo, try to emit
optional cast, negation and and stmts on the loop preheader
edge instead of into the pattern def seq.

* gcc.target/i386/rotate-4.c: Compile only with -mavx
instead of -mavx2, require only avx instead of avx2.
* gcc.target/i386/rotate-4a.c: Include avx-check.h instead
of avx2-check.h and turn into an avx runtime test instead of
avx2 runtime test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199005 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/rotate-4.c
gcc/testsuite/gcc.target/i386/rotate-4a.c
gcc/tree-vect-patterns.c