Re: [aarch64] Implement determine_suggested_unroll_factor

2022-03-31 Thread Andre Vieira (lists) via Gcc-patches
On 28/03/2022 15:59, Richard Sandiford wrote: "Andre Vieira (lists)" writes: Hi, Addressed all of your comments bar the pred ops one. Is this OK? gcc/ChangeLog:     * config/aarch64/aarch64.cc (aarch64_vector_costs): Define determine_suggested_unroll_factor and m_nosve_pattern.   

Re: [aarch64] Implement determine_suggested_unroll_factor

2022-03-28 Thread Richard Sandiford via Gcc-patches
"Andre Vieira (lists)" writes: > Hi, > > Addressed all of your comments bar the pred ops one. > > Is this OK? > > > gcc/ChangeLog: > >     * config/aarch64/aarch64.cc (aarch64_vector_costs): Define > determine_suggested_unroll_factor and m_nosve_pattern. >     (determine_suggested_unrol

Re: [aarch64] Implement determine_suggested_unroll_factor

2022-03-25 Thread Andre Vieira (lists) via Gcc-patches
Hi, Addressed all of your comments bar the pred ops one. Is this OK? gcc/ChangeLog:     * config/aarch64/aarch64.cc (aarch64_vector_costs): Define determine_suggested_unroll_factor and m_nosve_pattern.     (determine_suggested_unroll_factor): New function.     (aarch64_vector_co

Re: [aarch64] Implement determine_suggested_unroll_factor

2022-03-16 Thread Richard Sandiford via Gcc-patches
"Andre Vieira (lists)" writes: > Hi, > > This patch implements the costing function > determine_suggested_unroll_factor for aarch64. > It determines the unrolling factor by dividing the number of X > operations we can do per cycle by the number of X operations in the loop > body, taking this in

[aarch64] Implement determine_suggested_unroll_factor

2022-03-16 Thread Andre Vieira (lists) via Gcc-patches
Hi, This patch implements the costing function determine_suggested_unroll_factor for aarch64. It determines the unrolling factor by dividing the number of X operations we can do per cycle by the number of X operations in the loop body, taking this information from the vec_ops analysis during v