static unsigned int dec_addi_r(DisasContext *dc)

{

	TCGv t0;

	DIS(fprintf (logfile, "addi.%c $r%u, $r%u\n",

		    memsize_char(memsize_zz(dc)), dc->op2, dc->op1));

	cris_cc_mask(dc, 0);

	t0 = tcg_temp_new(TCG_TYPE_TL);

	tcg_gen_shl_tl(t0, cpu_R[dc->op2], tcg_const_tl(dc->zzsize));

	tcg_gen_add_tl(cpu_R[dc->op1], cpu_R[dc->op1], t0);

	tcg_temp_free(t0);

	return 2;

}

static unsigned int dec_addi_r(DisasContext *dc)

{

	TCGv t0;

	DIS(fprintf (logfile, "addi.%c $r%u, $r%u\n",

		    memsize_char(memsize_zz(dc)), dc->op2, dc->op1));

	cris_cc_mask(dc, 0);

	t0 = tcg_temp_new(TCG_TYPE_TL);

	tcg_gen_shl_tl(t0, cpu_R[dc->op2], tcg_const_tl(dc->zzsize));

	tcg_gen_add_tl(cpu_R[dc->op1], cpu_R[dc->op1], t0);

	tcg_temp_free(t0);

	return 2;

}

static unsigned int FUNC_0(DisasContext *VAR_0)

{

	TCGv t0;

	DIS(fprintf (logfile, "addi.%c $r%u, $r%u\n",

		    memsize_char(memsize_zz(VAR_0)), VAR_0->op2, VAR_0->op1));

	cris_cc_mask(VAR_0, 0);

	t0 = tcg_temp_new(TCG_TYPE_TL);

	tcg_gen_shl_tl(t0, cpu_R[VAR_0->op2], tcg_const_tl(VAR_0->zzsize));

	tcg_gen_add_tl(cpu_R[VAR_0->op1], cpu_R[VAR_0->op1], t0);

	tcg_temp_free(t0);

	return 2;

}

static unsigned int FUNC_0(DisasContext *VAR_0)
{ TCGv t0; DIS(fprintf (logfile, "addi.%c $r%u, $r%u\n",
memsize_char(memsize_zz(VAR_0)), VAR_0->op2, VAR_0->op1)); cris_cc_mask(VAR_0, 0); t0 = tcg_temp_new(TCG_TYPE_TL); tcg_gen_shl_tl(t0, cpu_R[VAR_0->op2], tcg_const_tl(VAR_0->zzsize)); tcg_gen_add_tl(cpu_R[VAR_0->op1], cpu_R[VAR_0->op1], t0); tcg_temp_free(t0); return 2; }