This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH i386 AVX512] [66/n] Extend vpalignr insn patterns.
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Richard Henderson <rth at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 9 Oct 2014 17:25:43 +0200
- Subject: Re: [PATCH i386 AVX512] [66/n] Extend vpalignr insn patterns.
- Authentication-results: sourceware.org; auth=none
- References: <20141009102840 dot GB25028 at msticlxl57 dot ims dot intel dot com>
On Thu, Oct 9, 2014 at 12:28 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> This patch extends vpalignr insn patterns.
> It also introduces dedicated `masked' version of pattern
> w/o substing.
>
> Bootstrapped.
> AVX-512* tests on top of patch-set all pass
> under simulator.
>
> Is it ok for trunk?
>
> gcc/
> * config/i386/sse.md
> (define_mode_iterator SSESCALARMODE): Add V4TI mode.
> (define_insn "<ssse3_avx2>_palignr<mode>_mask"): New.
> (define_insn "<ssse3_avx2>_palignr<mode>"): Add EVEX version.
OK, although SSESCALARMODE became even more messy ...
Just FYI: V1TI in VIMAX_AVX2 iterator is used to prevent moves of
TImode values from SSE to general regs on x86_64. The same reasoning
applies to V1DI MMX mode on x86_32.
Thanks,
Uros.