Commit 54728ac6dbcda62910d37c9f71967e3c21ca33e4

Authored by edgar_igl
1 parent 748b9d8e

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
Showing 1 changed file with 2 additions and 8 deletions
target-cris/translate.c
@@ -376,10 +376,7 @@ static void crisv32_alu_op(DisasContext *dc, int op, int rd, int size) @@ -376,10 +376,7 @@ static void crisv32_alu_op(DisasContext *dc, int op, int rd, int size)
376 case CC_OP_ADD: 376 case CC_OP_ADD:
377 tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]); 377 tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]);
378 /* Extended arithmetics. */ 378 /* Extended arithmetics. */
379 - if (!dc->flagx_live)  
380 - gen_op_addxl_T0_C();  
381 - else if (dc->flags_x)  
382 - gen_op_addxl_T0_C(); 379 + gen_op_addxl_T0_C();
383 break; 380 break;
384 case CC_OP_ADDC: 381 case CC_OP_ADDC:
385 tcg_gen_add_tl(cpu_T[0], cpu_T[0], cpu_T[1]); 382 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) @@ -397,10 +394,7 @@ static void crisv32_alu_op(DisasContext *dc, int op, int rd, int size)
397 gen_op_not_T1_T1(); 394 gen_op_not_T1_T1();
398 395
399 /* Extended arithmetics. */ 396 /* Extended arithmetics. */
400 - if (!dc->flagx_live)  
401 - gen_op_subxl_T0_C();  
402 - else if (dc->flags_x)  
403 - gen_op_subxl_T0_C(); 397 + gen_op_subxl_T0_C();
404 break; 398 break;
405 case CC_OP_MOVE: 399 case CC_OP_MOVE:
406 tcg_gen_mov_tl(cpu_T[0], cpu_T[1]); 400 tcg_gen_mov_tl(cpu_T[0], cpu_T[1]);