static unsigned int dec_addu_r(DisasContext *dc)

{

	TCGv t0;

	int size = memsize_z(dc);

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

		    memsize_char(size),

		    dc->op1, dc->op2));



	cris_cc_mask(dc, CC_MASK_NZVC);

	t0 = tcg_temp_new(TCG_TYPE_TL);

	/* Size can only be qi or hi.  */

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

	cris_alu(dc, CC_OP_ADD,

		    cpu_R[dc->op2], cpu_R[dc->op2], t0, 4);

	tcg_temp_free(t0);

	return 2;

}

static unsigned int dec_addu_r(DisasContext *dc)

{

	TCGv t0;

	int size = memsize_z(dc);

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

		    memsize_char(size),

		    dc->op1, dc->op2));



	cris_cc_mask(dc, CC_MASK_NZVC);

	t0 = tcg_temp_new(TCG_TYPE_TL);

	

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

	cris_alu(dc, CC_OP_ADD,

		    cpu_R[dc->op2], cpu_R[dc->op2], t0, 4);

	tcg_temp_free(t0);

	return 2;

}

static unsigned int FUNC_0(DisasContext *VAR_0)

{

	TCGv t0;

	int VAR_1 = memsize_z(VAR_0);

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

		    memsize_char(VAR_1),

		    VAR_0->op1, VAR_0->op2));



	cris_cc_mask(VAR_0, CC_MASK_NZVC);

	t0 = tcg_temp_new(TCG_TYPE_TL);

	

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

	cris_alu(VAR_0, CC_OP_ADD,

		    cpu_R[VAR_0->op2], cpu_R[VAR_0->op2], t0, 4);

	tcg_temp_free(t0);

	return 2;

}

static unsigned int FUNC_0(DisasContext *VAR_0)
{ TCGv t0; int VAR_1 = memsize_z(VAR_0); DIS(fprintf (logfile, "addu.%c $r%u, $r%u\n",
memsize_char(VAR_1),
VAR_0->op1, VAR_0->op2)); cris_cc_mask(VAR_0, CC_MASK_NZVC); t0 = tcg_temp_new(TCG_TYPE_TL); t_gen_zext(t0, cpu_R[VAR_0->op1], VAR_1); cris_alu(VAR_0, CC_OP_ADD,
cpu_R[VAR_0->op2], cpu_R[VAR_0->op2], t0, 4); tcg_temp_free(t0); return 2; }