This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386] Enable option -mprefer-avx256 added for Intel AVX512 configuration
On Thu, Sep 21, 2017 at 11:25 AM, Shalnov, Sergey
<sergey.shalnov@intel.com> wrote:
> gcc/ChangeLog:
>
> 2017-09-21 Sergey Shalnov <Sergey.Shalnov@intel.com>
>
> * 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
> (ix86_autovectorize_vector_sizes): Avoid 512-bit vectors if the flag
> -mprefer-avx256 is on
> * config/i386/i386.opt: Doc added for -mprefer-avx256
> * doc/invoke.texi: Doc added for -mprefer-avx256
>
> gcc/testsuite/ChangeLog:
>
> 2017-09-21 Sergey Shalnov <Sergey.Shalnov@intel.com>
>
> * g++.dg/ext/pr57362.C (__attribute__): Check for
> __attribute__((target("prefer-avx256"))) works
> * gcc.target/i386/avx512f-prefer.c: New test. Avoid 512bit
> registers if -mprefer-avx256 used
Sorry, this ChangeLog entry is still not OK.
Uros.