On 4/18/21 11:03 PM, frank.ch...@sifive.com wrote:
From: Frank Chang<frank.ch...@sifive.com>

ETYPE may be type of uint64_t, thus index variable has to be declared as
type of uint64_t, too. Otherwise the value read from vs1 register may be
truncated to type of uint32_t.

Signed-off-by: Frank Chang<frank.ch...@sifive.com>
---
  target/riscv/vector_helper.c | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)

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

r~

Reply via email to