aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/host-utils.h
diff options
context:
space:
mode:
authorDickon Hood <dickon.hood@codethink.co.uk>2023-04-28 15:47:46 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-02 12:36:46 -0700
commit8841c815a93a2da3e60fb8173d9c5dc01f552dab (patch)
tree0ebf6cb98461c94cc35c3473509ca30bb0e2971f /include/qemu/host-utils.h
parentac01ec6fe59458978b32624a6e93b5f2e55b593f (diff)
downloadqemu-8841c815a93a2da3e60fb8173d9c5dc01f552dab.zip
qemu-8841c815a93a2da3e60fb8173d9c5dc01f552dab.tar.gz
qemu-8841c815a93a2da3e60fb8173d9c5dc01f552dab.tar.bz2
qemu/bitops.h: Limit rotate amounts
Rotates have been fixed up to only allow for reasonable rotate amounts (ie, no rotates >7 on an 8b value etc.) This fixes a problem with riscv vector rotate instructions. Signed-off-by: Dickon Hood <dickon.hood@codethink.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230428144757.57530-9-lawrence.hunter@codethink.co.uk> [rth: Mask shifts in both directions.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/host-utils.h')
0 files changed, 0 insertions, 0 deletions