mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
RISC-V: Fix missing break statement in disassembler
This fixes an issue when disassembling rv128 c.sqsp, where the code erroneously fell through to c.swsp. Cc: Palmer Dabbelt <palmer@sifive.com> Cc: Sagar Karandikar <sagark@eecs.berkeley.edu> Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Cc: Alistair Francis <Alistair.Francis@wdc.com> Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Clark <mjc@sifive.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
6296a799b1
commit
1dc34be1c9
@ -1470,8 +1470,9 @@ static void decode_inst_opcode(rv_decode *dec, rv_isa isa)
|
||||
if (isa == rv128) {
|
||||
op = rv_op_c_sqsp;
|
||||
} else {
|
||||
op = rv_op_c_fsdsp; break;
|
||||
op = rv_op_c_fsdsp;
|
||||
}
|
||||
break;
|
||||
case 6: op = rv_op_c_swsp; break;
|
||||
case 7:
|
||||
if (isa == rv32) {
|
||||
|
Loading…
Reference in New Issue
Block a user