OSDN Git Service

target/riscv: Replace DisasContext.w with DisasContext.ol
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 20 Oct 2021 03:17:03 +0000 (20:17 -0700)
committerAlistair Francis <alistair@alistair23.me>
Thu, 21 Oct 2021 21:47:51 +0000 (07:47 +1000)
commit7667cafd5a0d173d1853b4d8414d4a98df1374dc
tree895eb679b236c4192a832885d92f309e91265c88
parent905b9fcde1fb84d718d95369c5d886bc81bbdd8e
target/riscv: Replace DisasContext.w with DisasContext.ol

In preparation for RV128, consider more than just "w" for
operand size modification.  This will be used for the "d"
insns from RV128 as well.

Rename oper_len to get_olen to better match get_xlen.

Reviewed-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20211020031709.359469-10-richard.henderson@linaro.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/insn_trans/trans_rvb.c.inc
target/riscv/insn_trans/trans_rvi.c.inc
target/riscv/insn_trans/trans_rvm.c.inc
target/riscv/translate.c