target/riscv: Add MAX_INSN_LEN and insn_len
commitef6e987b64343e0dc9e8526c80ee8d27d0654549
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 18 Aug 2022 19:07:28 +0000 (18 12:07 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 6 Sep 2022 07:04:26 +0000 (6 08:04 +0100)
treef213ace74171832b1867670120e022fd9a76305f
parent950936681f322a5ba2813f83eb44dd972be2d5a3
target/riscv: Add MAX_INSN_LEN and insn_len

These will be useful in properly ending the TB.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/riscv/translate.c