From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4511] suppressed no longer used ops
Date: Wed, 21 May 2008 13:34:28 +0000 [thread overview]
Message-ID: <E1JyoSa-0005g6-2f@cvs.savannah.gnu.org> (raw)
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 */
reply other threads:[~2008-05-21 13:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JyoSa-0005g6-2f@cvs.savannah.gnu.org \
--to=fabrice@bellard.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).