[PATCH i386 AVX512] [38/n] Extend vpternlog, valign, vrotate insn patterns.

Uros Bizjak ubizjak@gmail.com
Thu Sep 11 18:13:00 GMT 2014


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.



More information about the Gcc-patches mailing list