This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386] Fix movdi_internal to return MODE_TI with AVX512
- From: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- To: "Shalnov, Sergey" <sergey dot shalnov at intel dot com>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>, "Koval, Julia" <julia dot koval at intel dot com>, "Senkevich, Andrew" <andrew dot senkevich at intel dot com>, "Peryt, Sebastian" <sebastian dot peryt at intel dot com>, "Ivchenko, Alexander" <alexander dot ivchenko at intel dot com>, 'Uros Bizjak' <ubizjak at gmail dot com>
- Date: Fri, 1 Dec 2017 09:44:31 +0300
- Subject: Re: [PATCH, i386] Fix movdi_internal to return MODE_TI with AVX512
- Authentication-results: sourceware.org; auth=none
- References: <71475DE127B5E94A8E189586234C088822AE76FB@irsmsx105.ger.corp.intel.com>
Hello Sergey,
On 29 Nov 11:05, Shalnov, Sergey wrote:
> Hi,
> I found wrong MODE_XI used in movdi_internal that cause zmm
> Generation with "-march=skylake-avx512 -mprefer-vector-width=128"
> options set. This patch fixes the mode and register type but keep using
> AVX512 instruction set.
>
> 2017-11-28 Sergey Shalnov <Sergey.Shalnov@intel.com>
> gcc/
> * config/i386/i386.md: Fix AVX512 register width
> in AVX512 instruction.
Your patch is OK. I've checked it into main trunk.
--
Thanks, K