aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-02-14 21:10:56 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-03 08:03:05 -0700
commitbf67aa3dd2d8b28d7618d8ec62cd9f6055366751 (patch)
treebee88905b81022aacb1b3d95cf2f4504012ca073 /scripts/qapi/source.py
parentutil/bufferiszero: Introduce biz_accel_fn typedef (diff)
downloadqemu-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