On 4/18/21 11:03 PM, [email protected] wrote:
From: Frank Chang<[email protected]>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<[email protected]> --- target/riscv/vector_helper.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
