Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread H.J. Lu
On Tue, Aug 23, 2011 at 12:04 PM, Kirill Yukhin wrote: > Pulled down. Updated patch attached. I checked it in. Thanks. > -- > Thanks, K > > On Tue, Aug 23, 2011 at 9:06 PM, H.J. Lu wrote: >> On Tue, Aug 23, 2011 at 9:55 AM, Kirill Yukhin >> wrote: >>> Thanks, >>> >>> could anybody please com

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Kirill Yukhin
Pulled down. Updated patch attached. -- Thanks, K On Tue, Aug 23, 2011 at 9:06 PM, H.J. Lu wrote: > On Tue, Aug 23, 2011 at 9:55 AM, Kirill Yukhin > wrote: >> Thanks, >> >> could anybody please commit that? >> > > Please regenerate AVX2 patch with the current trunk > since your change won't ap

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread H.J. Lu
On Tue, Aug 23, 2011 at 9:55 AM, Kirill Yukhin wrote: > Thanks, > > could anybody please commit that? > Please regenerate AVX2 patch with the current trunk since your change won't apply after BMI2 checkin. Thanks. -- H.J.

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Kirill Yukhin
Thanks, could anybody please commit that? K On Tue, Aug 23, 2011 at 8:54 PM, Uros Bizjak wrote: > On Tue, Aug 23, 2011 at 6:31 PM, Kirill Yukhin > wrote: >> Thanks, done. >> Updated patch attached. > > OK for mainline. > > Thanks, > Uros. >

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Uros Bizjak
On Tue, Aug 23, 2011 at 6:31 PM, Kirill Yukhin wrote: > Thanks, done. > Updated patch attached. OK for mainline. Thanks, Uros.

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Kirill Yukhin
Thanks, done. Updated patch attached. -- K On Tue, Aug 23, 2011 at 8:16 PM, Uros Bizjak wrote: > On Tue, Aug 23, 2011 at 6:03 PM, Kirill Yukhin > wrote: > >> thanks for inputs! I've applied all. >> >> Also I fixed I a bug (which produced ICE). >> >> ChangeLog entry: >> 2011-08-23  Kirill Yukhi

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Uros Bizjak
On Tue, Aug 23, 2011 at 6:03 PM, Kirill Yukhin wrote: > thanks for inputs! I've applied all. > > Also I fixed I a bug (which produced ICE). > > ChangeLog entry: > 2011-08-23  Kirill Yukhin   > >        * config/i386/sse.md (mul3_highpart): Update. > > Patch and testsuite/ChangeLog entry are attac

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Uros Bizjak
On Tue, Aug 23, 2011 at 1:22 PM, Kirill Yukhin wrote: > Here is last patch to add initial support of AVX2 in GCC. > It contains bunch of tests for built-ins. > All tests pass under simulator and ignored when AVX2 is out. > > patch and testsuite/ChangeLog entry are attached, > > Is it OK Please d

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-23 Thread Kirill Yukhin
Sorry, lost body for previous message: Here is last patch to add initial support of AVX2 in GCC. It contains bunch of tests for built-ins. All tests pass under simulator and ignored when AVX2 is out. patch and testsuite/ChangeLog entry are attached, Is it OK Thanks, K On Tue, Aug 23, 2011 at 2

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-22 Thread Kirill Yukhin
Thanks! K On Mon, Aug 22, 2011 at 5:57 PM, H.J. Lu wrote: > On Mon, Aug 22, 2011 at 6:18 AM, Kirill Yukhin > wrote: >> Hi, >> thanks for input, Uros. Spaces were fixed. >> >> Updated patch is attached. ChangeLog entry is attached. >> >> Could anybody please commit it? >> > > I checked in for y

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-22 Thread H.J. Lu
On Mon, Aug 22, 2011 at 6:18 AM, Kirill Yukhin wrote: > Hi, > thanks for input, Uros. Spaces were fixed. > > Updated patch is attached. ChangeLog entry is attached. > > Could anybody please commit it? > I checked in for you. -- H.J.

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-19 Thread Uros Bizjak
On Fri, Aug 19, 2011 at 2:30 PM, Kirill Yukhin wrote: > Here is next patch, which adds support of code generation and intrinsics. > Patch and ChangeLog are attached. > > Bootstrap and make check are passed > > Is it ok for trunk? The patch looks good to me. If there are any other macroization op

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-19 Thread Kirill Yukhin
It was checked in by HJ http://gcc.gnu.org/viewcvs?view=revision&revision=177876 I am testing next patch. Thanks, K On Thu, Aug 11, 2011 at 1:16 PM, Kirill Yukhin wrote: > Hi Uros, > Thanks for patience reviewing my English :) and for finding a bug in souces. > > Updated patch is attached. It

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-11 Thread Kirill Yukhin
Hi Uros, Thanks for patience reviewing my English :) and for finding a bug in souces. Updated patch is attached. It was bootstrapped successfully. updated ChangeLog entry: 2011-08-11 Kirill Yukhin * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET): New. (OPTION_MAS

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-10 Thread Uros Bizjak
On Wed, Aug 10, 2011 at 9:39 PM, Uros Bizjak wrote: > diff --git a/gcc/common/config/i386/i386-common.c > b/gcc/common/config/i386/i386-common.c > index 1fd33bd..1e0ca5e 100644 > --- a/gcc/common/config/i386/i386-common.c > +++ b/gcc/common/config/i386/i386-common.c > @@ -52,6 +52,8 @@ along with

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-10 Thread Uros Bizjak
On Tue, Aug 9, 2011 at 2:42 PM, Kirill Yukhin wrote: > Here is second stage patch. > It introduces AVX2 option, define etc. > > ChangeLog entry: > > 2011-08-09  Kirill Yukhin   > >        * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET): New. >        (OPTION_MASK_ISA_FMA_UNSET): Upd

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Kirill Yukhin
Hi, Here is second stage patch. It introduces AVX2 option, define etc. ChangeLog entry: 2011-08-09 Kirill Yukhin * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET): New. (OPTION_MASK_ISA_FMA_UNSET): Update. (OPTION_MASK_ISA_AVX2_UNSET): New. (ix86_ha

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Kirill Yukhin
> > How was the patch tested? On the simulator? Actually, the problem is not catched by testing. I found one when runnning Spec 2006 under simulator. With the patched Spec 2006 suite seems to work OK > >> Could anybody with `waa` commit it? > > Patch is OK and committed to mainline. > > Thanks, >

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Uros Bizjak
On Tue, Aug 9, 2011 at 1:00 PM, Kirill Yukhin wrote: > here is patch for fixing FMA typo + bunch of traling spaces removed. > > Changelog entry: > > 2011-08-09  Kirill Yukhin   > >        * config/i386/i386.c: Remove traling spaces. >        * config/i386/sse.md: Likewise. > >        (*fma_fmadd_

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-09 Thread Kirill Yukhin
Hi, here is patch for fixing FMA typo + bunch of traling spaces removed. Changelog entry: 2011-08-09 Kirill Yukhin * config/i386/i386.c: Remove traling spaces. * config/i386/sse.md: Likewise. (*fma_fmadd_): Update. (*fma_fmsub_): Likewise. (*fma_fnmadd

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-06 Thread Uros Bizjak
On Thu, Aug 4, 2011 at 11:20 AM, Kirill Yukhin wrote: > During last few months I was working on AVX2 support for GCC. > > Here is a patch which conforms (hopefully) to Spec which can be found at [1] Whoa, mega-patch for review. This will be attacked in stages. 1. Typo fixes to fma_ patterns (and

Re: [PATCH, testsuite, i386] AVX2 support for GCC

2011-08-04 Thread Jakub Jelinek
On Thu, Aug 04, 2011 at 01:28:17PM +0400, Kirill Yukhin wrote: > During last few months I was working on AVX2 support for GCC. > > Here is a patch which conforms (hopefully) to Spec which can be found at [1] > > I am attaching following files: > - avx2.gcc.patch.tar.bz2. Compressed changes to GC