From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4304] CRIS: Do post-increment without going via T0.
Date: Sat, 03 May 2008 06:54:53 +0000 [thread overview]
Message-ID: <E1JsBe1-0001bs-Bg@cvs.savannah.gnu.org> (raw)
Revision: 4304
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4304
Author: edgar_igl
Date: 2008-05-03 06:54:52 +0000 (Sat, 03 May 2008)
Log Message:
-----------
CRIS: Do post-increment without going via T0.
Modified Paths:
--------------
trunk/target-cris/translate.c
Modified: trunk/target-cris/translate.c
===================================================================
--- trunk/target-cris/translate.c 2008-05-02 22:47:34 UTC (rev 4303)
+++ trunk/target-cris/translate.c 2008-05-03 06:54:52 UTC (rev 4304)
@@ -958,13 +958,10 @@
}
}
-static void do_postinc (DisasContext *dc, int size)
+static inline void do_postinc (DisasContext *dc, int size)
{
- if (!dc->postinc)
- return;
- t_gen_mov_TN_reg(cpu_T[0], dc->op1);
- tcg_gen_addi_tl(cpu_T[0], cpu_T[0], size);
- t_gen_mov_reg_TN(dc->op1, cpu_T[0]);
+ if (dc->postinc)
+ tcg_gen_addi_tl(cpu_R[dc->op1], cpu_R[dc->op1], size);
}
reply other threads:[~2008-05-03 6:54 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=E1JsBe1-0001bs-Bg@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).