On 7/10/20 3:48 AM, frank.ch...@sifive.com wrote: > From: LIU Zhiwei <zhiwei_...@c-sky.com> > > Signed-off-by: LIU Zhiwei <zhiwei_...@c-sky.com> > Signed-off-by: Frank Chang <frank.ch...@sifive.com> > --- > target/riscv/cpu.h | 4 ++ > target/riscv/cpu_bits.h | 1 + > target/riscv/cpu_helper.c | 13 ++++++ > target/riscv/csr.c | 25 ++++++++++- > target/riscv/insn_trans/trans_rvv.inc.c | 57 +++++++++++++++++++++---- > target/riscv/translate.c | 32 ++++++++++++++ > 6 files changed, 123 insertions(+), 9 deletions(-)
BTW, I think this should be split. One patch for the csr.c changes, another for the translate changes. r~