diff options
author | 2024-02-14 21:10:56 -1000 | |
---|---|---|
committer | 2024-05-03 08:03:05 -0700 | |
commit | bf67aa3dd2d8b28d7618d8ec62cd9f6055366751 (patch) | |
tree | bee88905b81022aacb1b3d95cf2f4504012ca073 /scripts/qapi/source.py | |
parent | util/bufferiszero: Introduce biz_accel_fn typedef (diff) | |
download | qemu-bf67aa3dd2d8b28d7618d8ec62cd9f6055366751.tar.xz qemu-bf67aa3dd2d8b28d7618d8ec62cd9f6055366751.zip |
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>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions