On 4/28/23 15:47, Lawrence Hunter wrote:
From: Dickon Hood<dickon.hood@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> Reviewed-by: Richard Henderson<richard.henderson@xxxxxxxxxx> --- include/qemu/bitops.h | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-)
Queued to tcg-next. r~