]> git.proxmox.com Git - mirror_qemu.git/commitdiff
suppressed no longer used ops
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 21 May 2008 13:34:27 +0000 (13:34 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 21 May 2008 13:34:27 +0000 (13:34 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4511 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/op.c
target-i386/translate.c

index 0724e41be82b4a77c6dbfd0359ee58c7eefaf640..a4833010b45c1a19e38e02a2c6b22b919161df09 100644 (file)
@@ -457,14 +457,3 @@ void OPPROTO op_salc(void)
     cf = cc_table[CC_OP].compute_c();
     EAX = (EAX & ~0xff) | ((-cf) & 0xff);
 }
-
-void OPPROTO op_fcomi_dummy(void)
-{
-    T0 = 0;
-}
-
-/* SSE support */
-void OPPROTO op_com_dummy(void)
-{
-    T0 = 0;
-}
index ba3498559786199e191999384391c0457349272d..5efebb349d3108217442634a42c51e28c47135ba 100644 (file)
@@ -3481,8 +3481,6 @@ static void gen_sse(DisasContext *s, int b, target_ulong pc_start, int rex_r)
             break;
         }
         if (b == 0x2e || b == 0x2f) {
-            /* just to keep the EFLAGS optimization correct */
-            gen_op_com_dummy();
             s->cc_op = CC_OP_EFLAGS;
         }
     }
@@ -5263,7 +5261,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
                     gen_op_set_cc_op(s->cc_op);
                 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
                 tcg_gen_helper_0_0(helper_fucomi_ST0_FT0);
-                gen_op_fcomi_dummy();
                 s->cc_op = CC_OP_EFLAGS;
                 break;
             case 0x1e: /* fcomi */
@@ -5271,7 +5268,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
                     gen_op_set_cc_op(s->cc_op);
                 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
                 tcg_gen_helper_0_0(helper_fcomi_ST0_FT0);
-                gen_op_fcomi_dummy();
                 s->cc_op = CC_OP_EFLAGS;
                 break;
             case 0x28: /* ffree sti */
@@ -5329,7 +5325,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
                 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
                 tcg_gen_helper_0_0(helper_fucomi_ST0_FT0);
                 tcg_gen_helper_0_0(helper_fpop);
-                gen_op_fcomi_dummy();
                 s->cc_op = CC_OP_EFLAGS;
                 break;
             case 0x3e: /* fcomip */
@@ -5338,7 +5333,6 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
                 tcg_gen_helper_0_1(helper_fmov_FT0_STN, tcg_const_i32(opreg));
                 tcg_gen_helper_0_0(helper_fcomi_ST0_FT0);
                 tcg_gen_helper_0_0(helper_fpop);
-                gen_op_fcomi_dummy();
                 s->cc_op = CC_OP_EFLAGS;
                 break;
             case 0x10 ... 0x13: /* fcmovxx */