Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-18 Thread Kirill Yukhin
Thank you! K On Tue, Oct 18, 2011 at 7:42 PM, H.J. Lu wrote: > On Mon, Oct 17, 2011 at 7:49 AM, Kirill Yukhin > wrote: >> Thanks, guys, could anybody please commit that? >> > > I checked it in for you. > > > -- > H.J. >

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-18 Thread H.J. Lu
On Mon, Oct 17, 2011 at 7:49 AM, Kirill Yukhin wrote: > Thanks, guys, could anybody please commit that? > I checked it in for you. -- H.J.

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-17 Thread Kirill Yukhin
Thanks, guys, could anybody please commit that? K On Mon, Oct 17, 2011 at 6:33 PM, Jakub Jelinek wrote: > On Mon, Oct 17, 2011 at 06:27:04PM +0400, Kirill Yukhin wrote: >> Thanks for inputs, Jakub! >> >> I am attaching updated patch. >> >> Updated testsuite/ChangeLog entry: >> 2011-10-17  Kirill

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-17 Thread Jakub Jelinek
On Mon, Oct 17, 2011 at 06:27:04PM +0400, Kirill Yukhin wrote: > Thanks for inputs, Jakub! > > I am attaching updated patch. > > Updated testsuite/ChangeLog entry: > 2011-10-17 Kirill Yukhin > > * gcc.target/i386/avx2-vpop-check.h: New header. > * gcc.target/i386/avx2-vpaddd-3

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-17 Thread Kirill Yukhin
Thanks for inputs, Jakub! I am attaching updated patch. Updated testsuite/ChangeLog entry: 2011-10-17 Kirill Yukhin * gcc.target/i386/avx2-vpop-check.h: New header. * gcc.target/i386/avx2-vpaddd-3.c: New test. * gcc.target/i386/avx2-vpaddw-3.c: Ditto. * gcc.tar

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-14 Thread Jakub Jelinek
On Fri, Oct 14, 2011 at 05:53:28PM +0400, Kirill Yukhin wrote: > Thanks, done. > > Anything else? First of all, most of the testcases look very similar, the only changes in between many of them are (unimportant) function names and different type. So, I think it would be much better to just write

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-14 Thread Kirill Yukhin
Thanks, done. Anything else? K On Fri, Oct 14, 2011 at 3:53 PM, Jakub Jelinek wrote: > On Fri, Oct 14, 2011 at 03:13:45PM +0400, Kirill Yukhin wrote: > > --- /dev/null > +++ b/gcc/testsuite/gcc.target/i386/avx2-vpaddb-3.c > @@ -0,0 +1,49 @@ > +/* { dg-do run } */ > +/* { dg-options "-mavx2 -O2

Re: [PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-14 Thread Jakub Jelinek
On Fri, Oct 14, 2011 at 03:13:45PM +0400, Kirill Yukhin wrote: --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx2-vpaddb-3.c @@ -0,0 +1,49 @@ +/* { dg-do run } */ +/* { dg-options "-mavx2 -O2 -ftree-vectorize -save-temps" } */ +/* { dg-require-effective-target avx2 } */ + ... + +/* { dg-final

[PATCH, i386 tests] New tests to check vectorization for AVX2 insns.

2011-10-14 Thread Kirill Yukhin
Hello guys, Here is a bunch of tests which check basic vectorization abilities to generate AVX2 instructions. testsuite/ChangeLog entry is: 2011-10-14 Kirill Yukhin * gcc.target/i386/avx2-vpaddd-3.c: New test. * gcc.target/i386/avx2-vpaddw-3.c: Ditto. * gcc.target/i386/