qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5165] TCG fixes for target-cris
@ 2008-09-05 14:19 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-09-05 14:19 UTC (permalink / raw)
  To: qemu-devel

Revision: 5165
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5165
Author:   aurel32
Date:     2008-09-05 14:19:27 +0000 (Fri, 05 Sep 2008)

Log Message:
-----------
TCG fixes for target-cris

This patch fixes TCG errors reported on the CRIS target when TCG_DEBUG
is enabled.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Edgar E. Iglesias <edgar@axis.com>

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

Modified: trunk/target-cris/translate.c
===================================================================
--- trunk/target-cris/translate.c	2008-09-05 14:19:17 UTC (rev 5164)
+++ trunk/target-cris/translate.c	2008-09-05 14:19:27 UTC (rev 5165)
@@ -1268,7 +1268,7 @@
 		tcg_gen_ext8s_i32(d, s);
 	else if (size == 2)
 		tcg_gen_ext16s_i32(d, s);
-	else if(d != s)
+	else if(GET_TCGV(d) != GET_TCGV(s))
 		tcg_gen_mov_tl(d, s);
 }
 
@@ -1278,7 +1278,7 @@
 		tcg_gen_ext8u_i32(d, s);
 	else if (size == 2)
 		tcg_gen_ext16u_i32(d, s);
-	else if (d != s)
+	else if (GET_TCGV(d) != GET_TCGV(s))
 		tcg_gen_mov_tl(d, s);
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-05 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-05 14:19 [Qemu-devel] [5165] TCG fixes for target-cris Aurelien Jarno

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).