target/riscv: setup everything for rv64 to support rv128 execution
This patch adds the support of the '-cpu rv128' option to qemu-system-riscv64 so that we can indicate that we want to run rv128 executables. Still, there is no support for 128-bit insns at that stage so qemu fails miserably (as expected) if launched with this option. Signed-off-by:Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr> Co-authored-by:
Fabien Portas <fabien.portas@grenoble-inp.org> Reviewed-by:
Alistair Francis <alistair.francis@wdc.com> Message-id: 20220106210108.138226-8-frederic.petrot@univ-grenoble-alpes.fr [ Changed by AF - Rename CPU to "x-rv128" ] Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
Showing
- disas/riscv.c 5 additions, 0 deletionsdisas/riscv.c
- include/disas/dis-asm.h 1 addition, 0 deletionsinclude/disas/dis-asm.h
- target/riscv/cpu.c 20 additions, 0 deletionstarget/riscv/cpu.c
- target/riscv/cpu.h 1 addition, 0 deletionstarget/riscv/cpu.h
- target/riscv/gdbstub.c 5 additions, 0 deletionstarget/riscv/gdbstub.c
Loading
Please register or sign in to comment