qemu-e2k/target/riscv
Alistair Francis ae84dd0ab7
target/riscv: Respect MPRV and SPRV for floating point ops
mark_fs_dirty() is the only place in translate.c that uses the
virt_enabled bool. Let's respect the contents of MSTATUS.MPRV and
HSTATUS.SPRV when setting the bool as this is used for performing
floating point operations when V=0.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-02-27 13:46:27 -08:00
..
insn_trans target/riscv: Remove the hret instruction 2020-02-27 13:45:45 -08:00
cpu_bits.h target/riscv: Add virtual register swapping function 2020-02-27 13:45:35 -08:00
cpu_helper.c target/riscv: Disable guest FP support based on virtual status 2020-02-27 13:45:47 -08:00
cpu_user.h
cpu-param.h
cpu.c target/riscv: Dump Hypervisor registers if enabled 2020-02-27 13:45:31 -08:00
cpu.h target/riscv: Only set TB flags with FP status if enabled 2020-02-27 13:45:46 -08:00
csr.c target/riscv: Extend the SIP CSR to support virtulisation 2020-02-27 13:45:38 -08:00
fpu_helper.c
gdbstub.c target/riscv: Add the Hypervisor CSRs to CPUState 2020-02-27 13:45:25 -08:00
helper.h
insn16-32.decode
insn16-64.decode
insn16.decode
insn32-64.decode
insn32.decode target/riscv: Remove the hret instruction 2020-02-27 13:45:45 -08:00
instmap.h target/riscv: progressively load the instruction during decode 2020-02-25 20:20:23 +00:00
Makefile.objs riscv: hmp: Add a command to show virtual memory mappings 2019-09-17 08:42:43 -07:00
monitor.c riscv: hmp: Add a command to show virtual memory mappings 2019-09-17 08:42:43 -07:00
op_helper.c target/riscv: Add Hypervisor trap return support 2020-02-27 13:45:43 -08:00
pmp.c target/riscv: PMP violation due to wrong size parameter 2019-10-28 08:46:33 -07:00
pmp.h
trace-events
translate.c target/riscv: Respect MPRV and SPRV for floating point ops 2020-02-27 13:46:27 -08:00