mirror of https://github.com/xemu-project/xemu.git
Simplified some dead extended arith code after search and replace.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4066 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
748b9d8ef0
commit
54728ac6db
|
@ -376,10 +376,7 @@ static void crisv32_alu_op(DisasContext *dc, int op, int rd, int size)
|
||||||
case CC_OP_ADD:
|
case CC_OP_ADD:
|
||||||
tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]);
|
tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]);
|
||||||
/* Extended arithmetics. */
|
/* Extended arithmetics. */
|
||||||
if (!dc->flagx_live)
|
gen_op_addxl_T0_C();
|
||||||
gen_op_addxl_T0_C();
|
|
||||||
else if (dc->flags_x)
|
|
||||||
gen_op_addxl_T0_C();
|
|
||||||
break;
|
break;
|
||||||
case CC_OP_ADDC:
|
case CC_OP_ADDC:
|
||||||
tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]);
|
tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]);
|
||||||
|
@ -397,10 +394,7 @@ static void crisv32_alu_op(DisasContext *dc, int op, int rd, int size)
|
||||||
gen_op_not_T1_T1();
|
gen_op_not_T1_T1();
|
||||||
|
|
||||||
/* Extended arithmetics. */
|
/* Extended arithmetics. */
|
||||||
if (!dc->flagx_live)
|
gen_op_subxl_T0_C();
|
||||||
gen_op_subxl_T0_C();
|
|
||||||
else if (dc->flags_x)
|
|
||||||
gen_op_subxl_T0_C();
|
|
||||||
break;
|
break;
|
||||||
case CC_OP_MOVE:
|
case CC_OP_MOVE:
|
||||||
tcg_gen_mov_tl(cpu_T[0], cpu_T[1]);
|
tcg_gen_mov_tl(cpu_T[0], cpu_T[1]);
|
||||||
|
|
Loading…
Reference in New Issue