aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/insn32.decode
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-08-23 12:55:28 -0700
committerAlistair Francis <alistair.francis@wdc.com>2021-09-01 11:59:12 +1000
commitf33960df5b377ba4b6b673f5e239402395fab6e3 (patch)
treec0ee891be67bd86d8157e5f5984738c3d395718f /target/riscv/insn32.decode
parent7976837f9a1faa80a7b0eb12d2b8209b596fb3e2 (diff)
downloadqemu-f33960df5b377ba4b6b673f5e239402395fab6e3.zip
qemu-f33960df5b377ba4b6b673f5e239402395fab6e3.tar.gz
qemu-f33960df5b377ba4b6b673f5e239402395fab6e3.tar.bz2
target/riscv: Tidy trans_rvh.c.inc
Exit early if check_access fails. Split out do_hlv, do_hsv, do_hlvx subroutines. Use dest_gpr, get_gpr in the new subroutines. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210823195529.560295-24-richard.henderson@linaro.org Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/insn32.decode')
-rw-r--r--target/riscv/insn32.decode1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/insn32.decode b/target/riscv/insn32.decode
index f09f8d5..2cd921d 100644
--- a/target/riscv/insn32.decode
+++ b/target/riscv/insn32.decode
@@ -42,6 +42,7 @@
&j imm rd
&r rd rs1 rs2
&r2 rd rs1
+&r2_s rs1 rs2
&s imm rs1 rs2
&u imm rd
&shift shamt rs1 rd