Commit 839bca8467a503171c3f12449434fa12cba2dc29

Authored by bellard
1 parent 07be379f

suppressed no longer used ops

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4511 c046a42c-6fe2-441c-8c8c-71466251a162
target-i386/op.c
@@ -457,14 +457,3 @@ void OPPROTO op_salc(void) @@ -457,14 +457,3 @@ void OPPROTO op_salc(void)
457 cf = cc_table[CC_OP].compute_c(); 457 cf = cc_table[CC_OP].compute_c();
458 EAX = (EAX & ~0xff) | ((-cf) & 0xff); 458 EAX = (EAX & ~0xff) | ((-cf) & 0xff);
459 } 459 }
460 -  
461 -void OPPROTO op_fcomi_dummy(void)  
462 -{  
463 - T0 = 0;  
464 -}  
465 -  
466 -/* SSE support */  
467 -void OPPROTO op_com_dummy(void)  
468 -{  
469 - T0 = 0;  
470 -}  
target-i386/translate.c
@@ -3481,8 +3481,6 @@ static void gen_sse(DisasContext *s, int b, target_ulong pc_start, int rex_r) @@ -3481,8 +3481,6 @@ static void gen_sse(DisasContext *s, int b, target_ulong pc_start, int rex_r)
3481 break; 3481 break;
3482 } 3482 }
3483 if (b == 0x2e || b == 0x2f) { 3483 if (b == 0x2e || b == 0x2f) {
3484 - /* just to keep the EFLAGS optimization correct */  
3485 - gen_op_com_dummy();  
3486 s->cc_op = CC_OP_EFLAGS; 3484 s->cc_op = CC_OP_EFLAGS;
3487 } 3485 }
3488 } 3486 }
@@ -5263,7 +5261,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) @@ -5263,7 +5261,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
5263 gen_op_set_cc_op(s->cc_op); 5261 gen_op_set_cc_op(s->cc_op);
5264 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg)); 5262 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
5265 tcg_gen_helper_0_0(helper_fucomi_ST0_FT0); 5263 tcg_gen_helper_0_0(helper_fucomi_ST0_FT0);
5266 - gen_op_fcomi_dummy();  
5267 s->cc_op = CC_OP_EFLAGS; 5264 s->cc_op = CC_OP_EFLAGS;
5268 break; 5265 break;
5269 case 0x1e: /* fcomi */ 5266 case 0x1e: /* fcomi */
@@ -5271,7 +5268,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) @@ -5271,7 +5268,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
5271 gen_op_set_cc_op(s->cc_op); 5268 gen_op_set_cc_op(s->cc_op);
5272 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg)); 5269 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
5273 tcg_gen_helper_0_0(helper_fcomi_ST0_FT0); 5270 tcg_gen_helper_0_0(helper_fcomi_ST0_FT0);
5274 - gen_op_fcomi_dummy();  
5275 s->cc_op = CC_OP_EFLAGS; 5271 s->cc_op = CC_OP_EFLAGS;
5276 break; 5272 break;
5277 case 0x28: /* ffree sti */ 5273 case 0x28: /* ffree sti */
@@ -5329,7 +5325,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) @@ -5329,7 +5325,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
5329 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg)); 5325 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
5330 tcg_gen_helper_0_0(helper_fucomi_ST0_FT0); 5326 tcg_gen_helper_0_0(helper_fucomi_ST0_FT0);
5331 tcg_gen_helper_0_0(helper_fpop); 5327 tcg_gen_helper_0_0(helper_fpop);
5332 - gen_op_fcomi_dummy();  
5333 s->cc_op = CC_OP_EFLAGS; 5328 s->cc_op = CC_OP_EFLAGS;
5334 break; 5329 break;
5335 case 0x3e: /* fcomip */ 5330 case 0x3e: /* fcomip */
@@ -5338,7 +5333,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) @@ -5338,7 +5333,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
5338 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg)); 5333 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
5339 tcg_gen_helper_0_0(helper_fcomi_ST0_FT0); 5334 tcg_gen_helper_0_0(helper_fcomi_ST0_FT0);
5340 tcg_gen_helper_0_0(helper_fpop); 5335 tcg_gen_helper_0_0(helper_fpop);
5341 - gen_op_fcomi_dummy();  
5342 s->cc_op = CC_OP_EFLAGS; 5336 s->cc_op = CC_OP_EFLAGS;
5343 break; 5337 break;
5344 case 0x10 ... 0x13: /* fcmovxx */ 5338 case 0x10 ... 0x13: /* fcmovxx */