commit | bf67aa3dd2d8b28d7618d8ec62cd9f6055366751 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Wed Feb 14 21:10:56 2024 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Fri May 03 08:03:05 2024 -0700 |
tree | bee88905b81022aacb1b3d95cf2f4504012ca073 | |
parent | 0100ce2b49725e6ba2fbe8301855978d5d3dc790 [diff] |
util/bufferiszero: Simplify test_buffer_is_zero_next_accel Because the three alternatives are monotonic, we don't need to keep a couple of bitmasks, just identify the strongest alternative at startup. Generalize test_buffer_is_zero_next_accel and init_accel by always defining an accel_table array. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>