* [Qemu-devel] [4415] Fix DEBUG_TCGV.
@ 2008-05-10 18:43 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-05-10 18:43 UTC (permalink / raw)
To: qemu-devel
Revision: 4415
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4415
Author: pbrook
Date: 2008-05-10 18:43:02 +0000 (Sat, 10 May 2008)
Log Message:
-----------
Fix DEBUG_TCGV.
Modified Paths:
--------------
trunk/tcg/tcg-op.h
Modified: trunk/tcg/tcg-op.h
===================================================================
--- trunk/tcg/tcg-op.h 2008-05-10 17:23:18 UTC (rev 4414)
+++ trunk/tcg/tcg-op.h 2008-05-10 18:43:02 UTC (rev 4415)
@@ -164,7 +164,7 @@
static inline void tcg_gen_mov_i32(TCGv ret, TCGv arg)
{
- if (ret != arg)
+ if (GET_TCGV(ret) != GET_TCGV(arg))
tcg_gen_op2(INDEX_op_mov_i32, ret, arg);
}
@@ -501,7 +501,7 @@
static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg)
{
- if (ret != arg) {
+ if (GET_TCGV(ret) != GET_TCGV(arg)) {
tcg_gen_mov_i32(ret, arg);
tcg_gen_mov_i32(TCGV_HIGH(ret), TCGV_HIGH(arg));
}
@@ -732,7 +732,7 @@
static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg)
{
- if (ret != arg)
+ if (GET_TCGV(ret) != GET_TCGV(arg))
tcg_gen_op2(INDEX_op_mov_i64, ret, arg);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-10 18:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-10 18:43 [Qemu-devel] [4415] Fix DEBUG_TCGV Paul Brook
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).