Re: [PATCH 3/8] middle-end: Refactor number_of_iterations_popcount

2022-11-14 Thread Richard Biener via Gcc-patches
On Fri, Nov 11, 2022 at 2:58 PM Andrew Carlotti via Gcc-patches wrote: > > This includes various changes to improve clarity, and to enable the code > to be more similar to the clz and ctz idiom recognition added in > subsequent patches. > > We create new number_of_iterations_bitcount function, whi

[PATCH 3/8] middle-end: Refactor number_of_iterations_popcount

2022-11-11 Thread Andrew Carlotti via Gcc-patches
This includes various changes to improve clarity, and to enable the code to be more similar to the clz and ctz idiom recognition added in subsequent patches. We create new number_of_iterations_bitcount function, which will be used to call the other bit-counting recognition functions added in subse