On 10/31/18 1:20 PM, Bastian Koppelmann wrote: > static bool trans_addw(DisasContext *ctx, arg_addw *a) > { > - gen_arith(ctx, OPC_RISC_ADDW, a->rd, a->rs1, a->rs2); > - return true; > + return trans_arith(ctx, a, &tcg_gen_add_tl); > }
This should be using gen_addw. r~