On Tue, Sep 15, 2020 at 4:59 AM Hongtao Liu <crazy...@gmail.com> wrote:
>
> Hi:
>   This patch would avoid spill gprs to mask registers for non-AVX512
> micro-architecture and fix regression in PR96744.
>
>   Bootstrap is ok, regression test for i386/x86-64 backend is ok.
>   No big performance impact on SPEC2017.
>
> gcc/ChangeLog:
>
>         PR taregt/96744
>         * config/i386/x86-tune-costs.h (struct processor_costs):
>         Increase mask <-> integer cost for non AVX512 target to avoid
>         spill gpr to mask. Also retune mask <-> integer and
>         mask_load/store for skylake_cost.

LGTM.

Thanks,
Uros.

>
> --
> BR,
> Hongtao

Reply via email to