Re: [RFC v2 04/15] target/riscv: rvb: logic-with-negate

2020-12-16 Thread Richard Henderson
On 12/15/20 8:01 PM, frank.ch...@sifive.com wrote: > +static void gen_andn(TCGv ret, TCGv arg1, TCGv arg2) > +{ > +TCGv t = tcg_temp_new(); > +tcg_gen_andc_tl(ret, arg1, arg2); > +tcg_temp_free(t); > +} > + > +static void gen_orn(TCGv ret, TCGv arg1, TCGv arg2) > +{ > +TCGv t = tcg_

[RFC v2 04/15] target/riscv: rvb: logic-with-negate

2020-12-15 Thread frank . chang
From: Kito Cheng Signed-off-by: Kito Cheng Signed-off-by: Frank Chang --- target/riscv/insn32.decode | 4 target/riscv/insn_trans/trans_rvb.c.inc | 18 ++ target/riscv/translate.c| 21 + 3 files changed, 43 insertions(+) d