Skip to content

riscv_opcode_tidying_csr_1

Tsukasa OI edited this page Oct 3, 2022 · 2 revisions

Cleaning: Move RISC-V supervisor instructions after all unprivileged ones

Issue Solved

This location of supervisor instructions is out of place (because many other privileged instructions are located at the tail but after the supervisor instructions, we have many unprivileged instructions including bit manipulation / crypto / vector instructions).

Not only that, this is harmful to implement pseudoinstructions in the latest 'P'-extension proposal (CLROV and RDOV).

This patchset moves supervisor instructions after all unprivileged instructions and adjusts some indents.

Clone this wiki locally