Dickon Hood 8841c815a9 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>
2023-05-02 12:36:46 -07:00
..
2023-01-06 00:50:32 +01:00
2023-03-20 12:43:50 +01:00
2023-05-02 12:36:46 -07:00
2023-03-02 19:13:52 -05:00
2023-03-20 12:43:50 +01:00
2022-07-13 16:58:57 +02:00
2020-12-10 12:15:18 -05:00
2023-02-10 14:12:06 +01:00
2020-10-15 16:06:27 +02:00
2022-12-20 17:09:41 -08:00
2022-10-07 12:11:41 +02:00
2022-04-20 10:51:11 -07:00
2023-04-24 11:29:00 +02:00
2020-12-10 17:16:44 +01:00
2022-04-21 17:03:51 +04:00
2023-03-28 15:23:10 -07:00
2023-02-10 14:12:06 +01:00
2023-04-27 16:39:43 +02:00
2023-03-20 12:43:50 +01:00
2023-02-08 07:27:20 +01:00
2023-03-02 19:13:52 -05:00
2021-04-01 15:27:44 +04:00