qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH v3 12/20] target/riscv: Split out the vill from vtype


From: Richard Henderson
Subject: Re: [PATCH v3 12/20] target/riscv: Split out the vill from vtype
Date: Thu, 11 Nov 2021 12:31:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 11/11/21 6:57 AM, LIU Zhiwei wrote:
We need not specially process vtype when XLEN changes.

Signed-off-by: LIU Zhiwei<zhiwei_liu@c-sky.com>
---
  target/riscv/cpu.h           |  1 +
  target/riscv/cpu_helper.c    |  3 +--
  target/riscv/csr.c           | 13 ++++++++++++-
  target/riscv/machine.c       |  1 +
  target/riscv/vector_helper.c |  3 ++-
  5 files changed, 17 insertions(+), 4 deletions(-)

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


@@ -104,6 +104,7 @@ static const VMStateDescription vmstate_vector = {
             VMSTATE_UINTTL(env.vl, RISCVCPU),
             VMSTATE_UINTTL(env.vstart, RISCVCPU),
             VMSTATE_UINTTL(env.vtype, RISCVCPU),
+            VMSTATE_BOOL(env.vill, RISCVCPU),
             VMSTATE_END_OF_LIST()

Need to bump version.


r~



reply via email to

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