qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 07/17] qemu/bitops.h: Limit rotate amounts


From: Richard Henderson
Subject: Re: [PATCH v2 07/17] qemu/bitops.h: Limit rotate amounts
Date: Tue, 18 Apr 2023 10:19:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 4/17/23 15:58, Lawrence Hunter wrote:
From: Dickon Hood<dickon.hood@codethink.co.uk>

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>
---
  include/qemu/bitops.h | 24 ++++++++++++++++--------
  1 file changed, 16 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]