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

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 kirill.yuk...@gmail.com 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,

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 kirill.yuk...@gmail.com wrote: thanks for inputs! I've applied all. Also I fixed I a bug (which produced ICE). ChangeLog entry: 2011-08-23  Kirill Yukhin  kirill.yuk...@intel.com        * config/i386/sse.md (smulmode3_highpart): Update.

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 ubiz...@gmail.com wrote: On Tue, Aug 23, 2011 at 6:03 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: thanks for inputs! I've applied all. Also I fixed I a bug (which produced ICE). ChangeLog entry:

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 kirill.yuk...@gmail.com 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, could anybody please commit that? K On Tue, Aug 23, 2011 at 8:54 PM, Uros Bizjak ubiz...@gmail.com wrote: On Tue, Aug 23, 2011 at 6:31 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Thanks, done. Updated patch attached. OK for mainline. Thanks, Uros.

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 kirill.yuk...@gmail.com 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 H.J. Lu
On Tue, Aug 23, 2011 at 12:04 PM, Kirill Yukhin kirill.yuk...@gmail.com 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 hjl.to...@gmail.com wrote: On Tue, Aug 23, 2011 at 9:55 AM, Kirill Yukhin

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 kirill.yuk...@gmail.com 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-22 Thread Kirill Yukhin
Thanks! K On Mon, Aug 22, 2011 at 5:57 PM, H.J. Lu hjl.to...@gmail.com wrote: On Mon, Aug 22, 2011 at 6:18 AM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Hi, thanks for input, Uros. Spaces were fixed. Updated patch is attached. ChangeLog entry is attached. Could anybody please commit

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=revisionrevision=177876 I am testing next patch. Thanks, K On Thu, Aug 11, 2011 at 1:16 PM, Kirill Yukhin kirill.yuk...@gmail.com wrote: Hi Uros, Thanks for patience reviewing my English :) and for finding a bug in souces. Updated

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 kirill.yuk...@gmail.com 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

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 kirill.yuk...@intel.com * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET):

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 kirill.yuk...@gmail.com wrote: Here is second stage patch. It introduces AVX2 option, define etc. ChangeLog entry: 2011-08-09  Kirill Yukhin  kirill.yuk...@intel.com        * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET): New.  

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 ubiz...@gmail.com 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

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 kirill.yuk...@intel.com * config/i386/i386.c: Remove traling spaces. * config/i386/sse.md: Likewise. (*fma_fmadd_mode): Update.

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 kirill.yuk...@gmail.com wrote: here is patch for fixing FMA typo + bunch of traling spaces removed. Changelog entry: 2011-08-09  Kirill Yukhin  kirill.yuk...@intel.com        * config/i386/i386.c: Remove traling spaces.        *

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, Uros.

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 kirill.yuk...@intel.com * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX2_SET): New. (OPTION_MASK_ISA_FMA_UNSET): Update.

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 GCC