unicorn/qemu/target/riscv
Georg Kotheimer 83116e69b5 target/riscv: Prevent lost illegal instruction exceptions
When decode_insn16() fails, we fall back to decode_RV32_64C() for
further compressed instruction decoding. However, prior to this change,
we did not raise an illegal instruction exception, if decode_RV32_64C()
fails to decode the instruction. This means that we skipped illegal
compressed instructions instead of raising an illegal instruction
exception.

Instead of patching decode_RV32_64C(), we can just remove it,
as it is dead code since f330433b363 anyway.

Backports 9a27f69bd668d9d71674407badc412ce1231c7d5
2021-03-30 15:23:00 -04:00
..
insn_trans target/riscv: Split the Hypervisor execute load helpers 2021-03-08 15:14:47 -05:00
cpu-param.h target/riscv: Add a virtualised MMU Mode 2021-03-08 14:56:14 -05:00
cpu.c target/riscv: Add proper two-stage lookup exception detection 2021-03-30 15:21:26 -04:00
cpu.h target/riscv: Add proper two-stage lookup exception detection 2021-03-30 15:21:26 -04:00
cpu_bits.h target/riscv: csr: Remove compile time XLEN checks 2021-03-08 15:34:30 -05:00
cpu_helper.c target/riscv: Add proper two-stage lookup exception detection 2021-03-30 15:21:26 -04:00
cpu_user.h Supply missing header guards 2019-06-12 10:59:10 -04:00
csr.c target/riscv: Fix read and write accesses to vsip and vsie 2021-03-30 15:16:10 -04:00
fpu_helper.c target/riscv: fpu_helper: Match function defs in HELPER macros 2021-03-08 15:25:30 -05:00
helper.h target/riscv: fpu_helper: Match function defs in HELPER macros 2021-03-08 15:25:30 -05:00
insn16-32.decode target/riscv: Split RVC32 and RVC64 insns into separate files 2019-05-28 19:00:23 -04:00
insn16-64.decode target/riscv: Add checks for several RVC reserved operands 2019-05-28 19:20:36 -04:00
insn16.decode target/riscv: Add checks for several RVC reserved operands 2019-05-28 19:20:36 -04:00
insn32-64.decode target/riscv: Allow generating hlv/hlvx/hsv instructions 2021-03-08 13:13:32 -05:00
insn32.decode target/riscv: Allow generating hlv/hlvx/hsv instructions 2021-03-08 13:13:32 -05:00
instmap.h Supply missing header guards 2019-06-12 10:59:10 -04:00
internals.h target/riscv: Check nanboxed inputs to fp helpers 2021-03-08 12:31:18 -05:00
Makefile.objs target/riscv: add vector configure instruction 2021-02-26 02:37:59 -05:00
op_helper.c target/riscv/pmp: Raise exception if no PMP entry is configured 2021-03-08 15:39:55 -05:00
pmp.c target/riscv: flush TLB pages if PMP permission has been changed 2021-03-30 15:09:12 -04:00
pmp.h target/riscv: propagate PMP permission to TLB page 2021-03-30 15:05:40 -04:00
translate.c target/riscv: Prevent lost illegal instruction exceptions 2021-03-30 15:23:00 -04:00
unicorn.c target/riscv: Add the virtulisation mode 2020-03-22 01:15:06 -04:00
unicorn.h target/riscv: Initial introduction of the RISC-V target 2019-03-08 21:46:10 -05:00
vector_helper.c target/riscv/vector_helper: Fix build on 32-bit big endian hosts 2021-03-08 12:18:39 -05:00