* [Qemu-devel] [4304] CRIS: Do post-increment without going via T0.
@ 2008-05-03 6:54 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-05-03 6:54 UTC (permalink / raw)
To: qemu-devel
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-03 6:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-03 6:54 [Qemu-devel] [4304] CRIS: Do post-increment without going via T0 Edgar E. Iglesias
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).