Re: [RFC 09/15] target/riscv: rvb: shift ones

2020-11-19 Thread Richard Henderson
On 11/18/20 12:29 AM, frank.ch...@sifive.com wrote: > +static bool trans_slo(DisasContext *ctx, arg_slo *a) > +{ > +REQUIRE_EXT(ctx, RVB); > +return gen_arith(ctx, a, _slo); > +} > + > +static bool trans_sloi(DisasContext *ctx, arg_sloi *a) > +{ > +REQUIRE_EXT(ctx, RVB); > + > +if

[RFC 09/15] target/riscv: rvb: shift ones

2020-11-18 Thread frank . chang
From: Kito Cheng Signed-off-by: Kito Cheng --- target/riscv/insn32-64.decode | 4 ++ target/riscv/insn32.decode | 4 ++ target/riscv/insn_trans/trans_rvb.c.inc | 58 target/riscv/translate.c| 70 + 4 files