Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-21 Thread Uros Bizjak
On Thu, Sep 21, 2017 at 11:25 AM, Shalnov, Sergey wrote: > gcc/ChangeLog: > > 2017-09-21 Sergey Shalnov > > * config/i386/i386.c (flag_opts): Added a macro for new option > (ix86_preferred_simd_mode): Prefer 256-bit AVX modes when the flag > -mprefer-avx256 is on >

RE: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-21 Thread Shalnov, Sergey
cc.gnu.org; kirill.yuk...@gmail.com; Koval, Julia ; Senkevich, Andrew Subject: Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration On Wed, Sep 20, 2017 at 3:59 PM, Shalnov, Sergey wrote: > Uros, > > This is the ChangeLog > > 2017-09-20 Se

Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-20 Thread Uros Bizjak
On Wed, Sep 20, 2017 at 3:59 PM, Shalnov, Sergey wrote: > Uros, > > This is the ChangeLog > > 2017-09-20 Sergey Shalnov sergey.shal...@intel.com > * config/i386/i386.opt (mprefer-avx256): command line documentation added for > -mprefer-avx256 > * config/i386/i386.c (ix86_preferred_simd_mode): P

RE: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-20 Thread Shalnov, Sergey
ros Bizjak [mailto:ubiz...@gmail.com] Sent: Wednesday, September 20, 2017 3:51 PM To: Shalnov, Sergey Cc: gcc-patches@gcc.gnu.org; kirill.yuk...@gmail.com; Koval, Julia ; Senkevich, Andrew Subject: Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration On Wed, Sep 20, 201

Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-20 Thread Uros Bizjak
On Wed, Sep 20, 2017 at 10:48 AM, Shalnov, Sergey wrote: > Uros, > Could you please merge the patch into mainline? Please send updated ChangeLog that describes all changes in the patch. Uros.

RE: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-20 Thread Shalnov, Sergey
Subject: Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration On Tue, Sep 19, 2017 at 4:00 PM, Shalnov, Sergey wrote: > Uros > Please, find the new patch attached. > Previously, I thought to change integer part of the " > ix86_preferred_simd_mode

Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-19 Thread Uros Bizjak
On Tue, Sep 19, 2017 at 4:00 PM, Shalnov, Sergey wrote: > Uros > Please, find the new patch attached. > Previously, I thought to change integer part of the " > ix86_preferred_simd_mode" function in the same way > as it done with floating point part. I haven't done it to disturb less code > by th

RE: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-19 Thread Shalnov, Sergey
17 11:44 AM To: Shalnov, Sergey Cc: gcc-patches@gcc.gnu.org; kirill.yuk...@gmail.com; Koval, Julia ; Senkevich, Andrew Subject: Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration On Thu, Sep 14, 2017 at 2:10 PM, Shalnov, Sergey wrote: > Hi, > GCC has the opti

Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-18 Thread Uros Bizjak
On Thu, Sep 14, 2017 at 2:10 PM, Shalnov, Sergey wrote: > Hi, > GCC has the option "mprefer-avx128" to use 128-bit AVX registers instead of > 256-bit AVX registers in the auto-vectorizer. > This patch enables the command line option "mprefer-avx256" that reduces > 512-bit registers usage in "mar

RE: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-15 Thread Shalnov, Sergey
f Of Jakub Jelinek Sent: Thursday, September 14, 2017 2:36 PM To: Shalnov, Sergey Cc: gcc-patches@gcc.gnu.org; ubiz...@gmail.com; kirill.yuk...@gmail.com; Koval, Julia ; Senkevich, Andrew Subject: Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration On Thu, Sep 1

Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-14 Thread Markus Trippelsdorf
On 2017.09.14 at 14:36 +0200, Jakub Jelinek wrote: > On Thu, Sep 14, 2017 at 12:10:50PM +, Shalnov, Sergey wrote: > > GCC has the option "mprefer-avx128" to use 128-bit AVX registers instead > > of 256-bit AVX registers in the auto-vectorizer. > > > This patch enables the command line option "

Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-14 Thread Jakub Jelinek
On Thu, Sep 14, 2017 at 12:10:50PM +, Shalnov, Sergey wrote: > GCC has the option "mprefer-avx128" to use 128-bit AVX registers instead > of 256-bit AVX registers in the auto-vectorizer. > This patch enables the command line option "mprefer-avx256" that reduces > 512-bit registers usage in "ma

[PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration

2017-09-14 Thread Shalnov, Sergey
Hi, GCC has the option "mprefer-avx128" to use 128-bit AVX registers instead of 256-bit AVX registers in the auto-vectorizer. This patch enables the command line option "mprefer-avx256" that reduces 512-bit registers usage in "march=skylake-avx512" mode. This is the initial implementation of the