RISC-V: Move supervisor instructions after all unprivileged ones
authorTsukasa OI <research_trasio@irq.a4lg.com>
Wed, 28 Sep 2022 12:41:38 +0000 (12:41 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Mon, 3 Oct 2022 11:44:10 +0000 (11:44 +0000)
commit01292987969e807f3c5861c75723d5532bf42f12
treee4be3b0c857fbd21695e42b8afdd45516a8bee55
parent2820f08f2331820808ac2f54d8e3619f36ea258b
RISC-V: Move supervisor instructions after all unprivileged ones

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 commit moves supervisor
instructions after all unprivileged instructions.

opcodes/ChangeLog:

* riscv-opc.c (riscv_opcodes): Adjust indents.  Move supervisor
instructions after all unprivileged instructions.
opcodes/riscv-opc.c