[PATCH i386 AVX512] [39/n] Extend ashrv insn patterns.

Uros Bizjak ubizjak@gmail.com
Fri Sep 12 16:41:00 GMT 2014


On Fri, Sep 12, 2014 at 3:45 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:

> Patch in the bottom (derived with git diff -w)
> extends ashrv insns patterns.
> I choosen to add `_1' to `VI24_AVX512BW_1' mode iterator
> because of it is irregular.
>
> 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 VI248_AVX512BW_AVX512VL):
>         New.
>         (define_mode_iterator VI24_AVX512BW_1): Ditto.
>         (define_insn "<mask_codefor>ashr<mode>3<mask_name>"): Ditto.
>         (define_insn "<mask_codefor>ashrv2di3<mask_name>"): Ditto.
>         (define_insn "ashr<VI248_AVX512BW_AVX512VL:mode>3<mask_name>"): Update
>         mode iterator.
>         (define_expand "ashrv2di3"): Update to enable TARGET_AVX512VL.

Enable also for TARGET_AVX512VL.

OK.

Thanks,
Uros.



More information about the Gcc-patches mailing list