From: Uros Bizjak <ubizjak@gmail.com>
To: "Shalnov, Sergey" <sergey.shalnov@intel.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
"kirill.yukhin@gmail.com" <kirill.yukhin@gmail.com>,
"Koval, Julia" <julia.koval@intel.com>,
"Senkevich, Andrew" <andrew.senkevich@intel.com>,
"Peryt, Sebastian" <sebastian.peryt@intel.com>,
"Ivchenko, Alexander" <alexander.ivchenko@intel.com>
Subject: Re: [PATCH, i386] Fix movdi_internal to return MODE_TI with AVX512
Date: Wed, 29 Nov 2017 12:38:00 -0000 [thread overview]
Message-ID: <CAFULd4b2Nzzxkfk71Jq7aToPo5Uo=HFoATfa=YoFCDfC4sStHg@mail.gmail.com> (raw)
In-Reply-To: <CAFULd4avvguWZVSS=mfT8KJyg1-dD0_RtPXuWCKVowiEYtUnhQ@mail.gmail.com>
On Wed, Nov 29, 2017 at 1:10 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Wed, Nov 29, 2017 at 12:05 PM, Shalnov, Sergey
> <sergey.shalnov@intel.com> 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.
>
> IMO, a beter solution is to introduce ext_rex_sse_reg_operand and use
> it in place of existing ext_sse_reg_operand predicate. This is XImode
> move.
Probably you will need the same change in movsi_internal.
Uros.
next prev parent reply other threads:[~2017-11-29 12:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-29 12:10 Shalnov, Sergey
2017-11-29 12:34 ` Uros Bizjak
2017-11-29 12:38 ` Uros Bizjak [this message]
2017-12-01 6:44 ` Kirill Yukhin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFULd4b2Nzzxkfk71Jq7aToPo5Uo=HFoATfa=YoFCDfC4sStHg@mail.gmail.com' \
--to=ubizjak@gmail.com \
--cc=alexander.ivchenko@intel.com \
--cc=andrew.senkevich@intel.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=julia.koval@intel.com \
--cc=kirill.yukhin@gmail.com \
--cc=sebastian.peryt@intel.com \
--cc=sergey.shalnov@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).