This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH i386 AVX512] [38/n] Extend vpternlog, valign, vrotate 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, 11 Sep 2014 20:13:36 +0200
- Subject: Re: [PATCH i386 AVX512] [38/n] Extend vpternlog, valign, vrotate insn patterns.
- Authentication-results: sourceware.org; auth=none
- References: <20140911131626 dot GC62005 at msticlxl57 dot ims dot intel dot com>
On Thu, Sep 11, 2014 at 3:16 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Patch in the bottom extends patterns for rotate, ternlog and align.
>
> 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 VI48_AVX512VL): New.
> (define_expand "<avx512>_vternlog<mode>_maskz"): Rename from
> "avx512f_vternlog<mode>_maskz" and update mode iterator.
> (define_insn "<avx512>_vternlog<mode><sd_maskz_name>"): Rename
> from "avx512f_vternlog<mode><sd_maskz_name>" and update mode iterator.
> (define_insn "<avx512>_vternlog<mode>_mask"): Rename from
> "avx512f_vternlog<mode>_mask" and update mode iterator.
> (define_insn "<mask_codefor><avx512>_align<mode><mask_name>"): Rename
> from "<mask_codefor>avx512f_align<mode><mask_name>" and update mode
> iterator.
> (define_insn "<avx512>_<rotate>v<mode><mask_name>"): Rename from
> "avx512f_<rotate>v<mode><mask_name>" and update mode iterator.
> (define_insn "<avx512>_<rotate><mode><mask_name>"): Rename from
> "avx512f_<rotate><mode><mask_name>" and update mode iterator.
> (define_insn "clz<mode>2<mask_name>"): Use VI48_AVX512VL.
Use VI48_AVX512VL mode iterator.
> (define_insn "<mask_codefor>conflict<mode><mask_name>"): Ditto.
Nice, almost mechanical patch!
OK.
Thanks,
Uros.