qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6199] CRIS: Move operations can be optimized as arithmetic ones for cc evaluation.
Date: Wed, 07 Jan 2009 12:27:46 +0000	[thread overview]
Message-ID: <E1LKXVi-00057N-Vq@cvs.savannah.gnu.org> (raw)

Revision: 6199
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6199
Author:   edgar_igl
Date:     2009-01-07 12:27:46 +0000 (Wed, 07 Jan 2009)

Log Message:
-----------
CRIS: Move operations can be optimized as arithmetic ones for cc evaluation.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

Modified Paths:
--------------
    trunk/target-cris/translate.c

Modified: trunk/target-cris/translate.c
===================================================================
--- trunk/target-cris/translate.c	2009-01-07 12:25:15 UTC (rev 6198)
+++ trunk/target-cris/translate.c	2009-01-07 12:27:46 UTC (rev 6199)
@@ -975,6 +975,7 @@
 			case CC_OP_CMP: return 1;
 			case CC_OP_NEG: return 1;
 			case CC_OP_OR: return 1;
+			case CC_OP_AND: return 1;
 			case CC_OP_XOR: return 1;
 			case CC_OP_MULU: return 1;
 			case CC_OP_MULS: return 1;
@@ -1000,7 +1001,7 @@
 	 * code is true.
 	 */
 	arith_opt = arith_cc(dc) && !dc->flags_uptodate;
-	move_opt = (dc->cc_op == CC_OP_MOVE) && dc->flags_uptodate;
+	move_opt = (dc->cc_op == CC_OP_MOVE);
 	switch (cond) {
 		case CC_EQ:
 			if (arith_opt || move_opt) {

                 reply	other threads:[~2009-01-07 12:27 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=E1LKXVi-00057N-Vq@cvs.savannah.gnu.org \
    --to=edgar.iglesias@gmail.com \
    --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).