Re: [Qemu-devel] [PATCH] RISC-V: Add support for the Zicsr extension

2019-06-25 Thread Palmer Dabbelt
On Tue, 25 Jun 2019 08:20:55 PDT (-0700), alistai...@gmail.com wrote: On Tue, Jun 25, 2019 at 3:09 AM Palmer Dabbelt wrote: The various CSR instructions have been split out of the base ISA as part of the ratification process. This patch adds a Zicsr argument, which disables all the CSR instru

Re: [Qemu-devel] [PATCH] RISC-V: Add support for the Zicsr extension

2019-06-25 Thread Alistair Francis
On Tue, Jun 25, 2019 at 3:09 AM Palmer Dabbelt wrote: > > The various CSR instructions have been split out of the base ISA as part > of the ratification process. This patch adds a Zicsr argument, which > disables all the CSR instructions. > > Signed-off-by: Palmer Dabbelt > --- > target/riscv/c

[Qemu-devel] [PATCH] RISC-V: Add support for the Zicsr extension

2019-06-25 Thread Palmer Dabbelt
The various CSR instructions have been split out of the base ISA as part of the ratification process. This patch adds a Zicsr argument, which disables all the CSR instructions. Signed-off-by: Palmer Dabbelt --- target/riscv/cpu.c | 1 + target/riscv/cpu.h | 1 + target/riscv/csr.c | 5 + 3