Re: [RFC] mask out mult expr ctz bits from nonzero bits

2021-06-10 Thread Jeff Law via Gcc-patches
On 1/27/2021 6:47 AM, Alexandre Oliva wrote: While looking into the possibility of introducing setmemM patterns on RISC-V to undo the transformation from loops of word writes into memset, I was disappointed to find out that get_nonzero_bits would take into account the range of the length passe

[RFC] mask out mult expr ctz bits from nonzero bits

2021-01-27 Thread Alexandre Oliva
While looking into the possibility of introducing setmemM patterns on RISC-V to undo the transformation from loops of word writes into memset, I was disappointed to find out that get_nonzero_bits would take into account the range of the length passed to memset, but not the trivially-available obs