[5165] TCG fixes for target-cris
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 <[email protected]>
Modified Paths:
--------------
trunk/target-cris/translate.c
Modified: trunk/target-cris/translate.c
===================================================================
target-cris/translate.c +2 -2
@@ -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); }