Re: [PATCH v4 08/10] util/bufferiszero: Simplify test_buffer_is_zero_next_accel

2024-02-15 Thread Philippe Mathieu-Daudé
On 15/2/24 09:14, Richard Henderson wrote: Because the three alternatives are monotonic, we don't need to keep a couple of bitmasks, just identify the strongest alternative at startup. Signed-off-by: Richard Henderson --- util/bufferiszero.c | 56 ++---

[PATCH v4 08/10] util/bufferiszero: Simplify test_buffer_is_zero_next_accel

2024-02-15 Thread Richard Henderson
Because the three alternatives are monotonic, we don't need to keep a couple of bitmasks, just identify the strongest alternative at startup. Signed-off-by: Richard Henderson --- util/bufferiszero.c | 56 ++--- 1 file changed, 22 insertions(+), 34 deletion