Re: [PATCH] vect: Use factored nloads for load cost modeling [PR82255]

2021-01-18 Thread Kewen.Lin via Gcc-patches
Hi Richard, on 2021/1/15 下午8:03, Richard Biener wrote: > On Fri, Jan 15, 2021 at 9:11 AM Kewen.Lin wrote: >> >> Hi, >> >> This patch follows Richard's suggestion in the thread discussion[1], >> it's to factor out the nloads computation in vectorizable_load for >> strided access, to ensure we can

Re: [PATCH] vect: Use factored nloads for load cost modeling [PR82255]

2021-01-15 Thread Richard Biener via Gcc-patches
On Fri, Jan 15, 2021 at 9:11 AM Kewen.Lin wrote: > > Hi, > > This patch follows Richard's suggestion in the thread discussion[1], > it's to factor out the nloads computation in vectorizable_load for > strided access, to ensure we can obtain the consistent information > when estimating the costs. >

[PATCH] vect: Use factored nloads for load cost modeling [PR82255]

2021-01-15 Thread Kewen.Lin via Gcc-patches
Hi, This patch follows Richard's suggestion in the thread discussion[1], it's to factor out the nloads computation in vectorizable_load for strided access, to ensure we can obtain the consistent information when estimating the costs. btw, the reason why I didn't try to save the information into s