Re: [PATCH v3 2/3] sbitmap: Add bitmap_is_range_set_p function

2025-05-20 Thread Richard Sandiford
Konstantinos Eleftheriou writes: > Hi Richard, thanks for your response. > > On Tue, May 20, 2025 at 8:05 AM Richard Biener > wrote: >> >> On Mon, May 19, 2025 at 4:14 PM Konstantinos Eleftheriou >> wrote: >> > >> > This patch adds the `bitmap_is_range_set_p` function in sbitmap, >> > which chec

Re: [PATCH v3 2/3] sbitmap: Add bitmap_is_range_set_p function

2025-05-19 Thread Konstantinos Eleftheriou
Hi Richard, thanks for your response. On Tue, May 20, 2025 at 8:05 AM Richard Biener wrote: > > On Mon, May 19, 2025 at 4:14 PM Konstantinos Eleftheriou > wrote: > > > > This patch adds the `bitmap_is_range_set_p` function in sbitmap, > > which checks if all the bits in a range are set. This fun

Re: [PATCH v3 2/3] sbitmap: Add bitmap_is_range_set_p function

2025-05-19 Thread Richard Biener
On Mon, May 19, 2025 at 4:14 PM Konstantinos Eleftheriou wrote: > > This patch adds the `bitmap_is_range_set_p` function in sbitmap, > which checks if all the bits in a range are set. This function > calls `bitmap_bit_in_range_p_1`, which has been updated to use > the `any_inverted` parameter. Whe

[PATCH v3 2/3] sbitmap: Add bitmap_is_range_set_p function

2025-05-19 Thread Konstantinos Eleftheriou
This patch adds the `bitmap_is_range_set_p` function in sbitmap, which checks if all the bits in a range are set. This function calls `bitmap_bit_in_range_p_1`, which has been updated to use the `any_inverted` parameter. When `any_inverted` is true, the helper function checks if any of the bits in