Re: [PATCH 8/9] vect: Adjust vectorizable_load costing on VMAT_CONTIGUOUS_PERMUTE

2023-06-19 Thread Kewen.Lin via Gcc-patches
Hi Hongtao, on 2023/6/14 16:17, Hongtao Liu wrote: > On Tue, Jun 13, 2023 at 10:07 AM Kewen Lin via Gcc-patches > wrote: >> >> This patch adjusts the cost handling on >> VMAT_CONTIGUOUS_PERMUTE in function vectorizable_load. We >> don't call function vect_model_load_cost for it any more. >> >> A

Re: [PATCH 8/9] vect: Adjust vectorizable_load costing on VMAT_CONTIGUOUS_PERMUTE

2023-06-14 Thread Hongtao Liu via Gcc-patches
On Tue, Jun 13, 2023 at 10:07 AM Kewen Lin via Gcc-patches wrote: > > This patch adjusts the cost handling on > VMAT_CONTIGUOUS_PERMUTE in function vectorizable_load. We > don't call function vect_model_load_cost for it any more. > > As the affected test case gcc.target/i386/pr70021.c shows, > th

[PATCH 8/9] vect: Adjust vectorizable_load costing on VMAT_CONTIGUOUS_PERMUTE

2023-06-12 Thread Kewen Lin via Gcc-patches
This patch adjusts the cost handling on VMAT_CONTIGUOUS_PERMUTE in function vectorizable_load. We don't call function vect_model_load_cost for it any more. As the affected test case gcc.target/i386/pr70021.c shows, the previous costing can under-cost the total generated vector loads as for VMAT_C