On Sat, May 3, 2025 at 1:03 PM Bernhard Reutner-Fischer
<rep.dot....@gmail.com> wrote:
>
> On 1 May 2025 17:01:16 CEST, Andrew Pinski <quic_apin...@quicinc.com> wrote:
> >While looking into bitwise optimizations, I noticed that
> >get_known_nonzero_bits_1 does `bm.value () & ~bm.mask ()` which
> >is ok except it creates a temporary wide_int. Instead if we
> >use wi::bit_and_not, we can avoid the temporary and on some
>
>
> did you look, by chance, if there are other such spots?

No, I have not looked. I just happened to come across this one while
working on some other unrelated optimization.

Thanks,
Andrew

>
> just curious
> thanks

Reply via email to