Re: [PATCH, i386] Avoid 512-bit vector return constant for Intel AVX512 configuration

2017-09-28 Thread Uros Bizjak
Shalnov, Sergey > Cc: gcc-patches@gcc.gnu.org; kirill.yuk...@gmail.com; Senkevich, Andrew > ; Ivchenko, Alexander > ; Peryt, Sebastian > Subject: Re: [PATCH, i386] Avoid 512-bit vector return constant for Intel > AVX512 configuration > > On Thu, Sep 28, 2017 at 3:08 PM, Shal

RE: [PATCH, i386] Avoid 512-bit vector return constant for Intel AVX512 configuration

2017-09-28 Thread Shalnov, Sergey
, Sebastian Subject: Re: [PATCH, i386] Avoid 512-bit vector return constant for Intel AVX512 configuration On Thu, Sep 28, 2017 at 3:08 PM, Shalnov, Sergey wrote: > Hi, > GCC uses full 512-bit register to return the constant from the function. > The patch avoid 512-bit register usage if "-

Re: [PATCH, i386] Avoid 512-bit vector return constant for Intel AVX512 configuration

2017-09-28 Thread Uros Bizjak
On Thu, Sep 28, 2017 at 3:08 PM, Shalnov, Sergey wrote: > Hi, > GCC uses full 512-bit register to return the constant from the function. > The patch avoid 512-bit register usage if "-mprefer-avx256" option used. > > 2017-09-28 Sergey Shalnov > > gcc/ > * config/i386/i386.md(*movsf_inter