On 10/31/18 1:20 PM, Bastian Koppelmann wrote:
> +
> +#ifdef TARGET_RISCV64
> +static void gen_addiw(TCGv ret, TCGv arg1, TCGv arg2)
> +{
> + tcg_gen_add_tl(ret, arg1, arg2);
> + tcg_gen_ext32s_tl(ret, ret);
> +}
> +#endifThis should have been called gen_addw. It takes no immediate. r~
