aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/umul8.h
diff options
context:
space:
mode:
authorBrendan Sweeney <brs@eecs.berkeley.edu>2022-07-26 14:36:01 -0500
committerGitHub <noreply@github.com>2022-07-26 12:36:01 -0700
commit8d016bffdbc8d7cbeb253cc4f2ee9e5d4bf0a626 (patch)
treed8eba81ea4fd778aa6a8a82a0c33be022d0b5049 /riscv/insns/umul8.h
parentcdc05e6719f30e6e9192dc92f8cd8d5b22f53417 (diff)
downloadspike-8d016bffdbc8d7cbeb253cc4f2ee9e5d4bf0a626.zip
spike-8d016bffdbc8d7cbeb253cc4f2ee9e5d4bf0a626.tar.gz
spike-8d016bffdbc8d7cbeb253cc4f2ee9e5d4bf0a626.tar.bz2
Add additional bits to medeleg (#1050)
Pursuant to https://github.com/riscv-software-src/riscv-isa-sim/issues/668 and https://github.com/riscv-software-src/riscv-isa-sim/issues/194, allowing for additional exceptions to be delegated from M-mode. It is implementation-defined whether these bits are defined or are read-only-zero. QEMU implements the added bits (Fetch/Load/StoreAMO access, Load/StoreAMO misalignment, and illegal instruction). (https://github.com/qemu/qemu/blob/f6cce6bcb2ef959cdd4da0e368f7c72045f21d6d/target/riscv/csr.c#L813) ECALL_FROM_M is not implemented here because it would have no effect, although QEMU does implement it. This allows Spike to emulate QEMU and other systems which allow for the delegation of such exceptions. Signed-off-by: Brendan Sweeney <mehnadnerd@gmail.com>
Diffstat (limited to 'riscv/insns/umul8.h')
0 files changed, 0 insertions, 0 deletions