Re: [RFC 10/15] target/riscv: rvb: rotate (left/right)

2020-11-19 Thread Richard Henderson
On 11/18/20 12:29 AM, frank.ch...@sifive.com wrote: > +static bool trans_rori(DisasContext *ctx, arg_rori *a) > +{ > +REQUIRE_EXT(ctx, RVB); > + > +if (a->shamt >= TARGET_LONG_BITS) { > +return false; > +} > + > +return gen_arith_shamt_tl(ctx, a, _gen_rotr_tl); > +} We

[RFC 10/15] target/riscv: rvb: rotate (left/right)

2020-11-18 Thread frank . chang
From: Kito Cheng Signed-off-by: Kito Cheng Signed-off-by: Frank Chang --- target/riscv/insn32-64.decode | 3 ++ target/riscv/insn32.decode | 3 ++ target/riscv/insn_trans/trans_rvb.c.inc | 54 + target/riscv/translate.c| 48