From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyoSc-0002Tu-5q for qemu-devel@nongnu.org; Wed, 21 May 2008 09:34:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyoSb-0002TQ-P4 for qemu-devel@nongnu.org; Wed, 21 May 2008 09:34:29 -0400 Received: from [199.232.76.173] (port=50105 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyoSb-0002TG-Kq for qemu-devel@nongnu.org; Wed, 21 May 2008 09:34:29 -0400 Received: from savannah.gnu.org ([199.232.41.3]:44584 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JyoSb-0003dW-IG for qemu-devel@nongnu.org; Wed, 21 May 2008 09:34:29 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1JyoSa-0005gA-Bs for qemu-devel@nongnu.org; Wed, 21 May 2008 13:34:28 +0000 Received: from bellard by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1JyoSa-0005g6-2f for qemu-devel@nongnu.org; Wed, 21 May 2008 13:34:28 +0000 MIME-Version: 1.0 Errors-To: bellard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Fabrice Bellard Message-Id: Date: Wed, 21 May 2008 13:34:28 +0000 Subject: [Qemu-devel] [4511] suppressed no longer used ops Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4511 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4511 Author: bellard Date: 2008-05-21 13:34:27 +0000 (Wed, 21 May 2008) Log Message: ----------- suppressed no longer used ops Modified Paths: -------------- trunk/target-i386/op.c trunk/target-i386/translate.c Modified: trunk/target-i386/op.c =================================================================== --- trunk/target-i386/op.c 2008-05-21 13:29:45 UTC (rev 4510) +++ trunk/target-i386/op.c 2008-05-21 13:34:27 UTC (rev 4511) @@ -457,14 +457,3 @@ 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; -} Modified: trunk/target-i386/translate.c =================================================================== --- trunk/target-i386/translate.c 2008-05-21 13:29:45 UTC (rev 4510) +++ trunk/target-i386/translate.c 2008-05-21 13:34:27 UTC (rev 4511) @@ -3481,8 +3481,6 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 */