qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6804] target-ppc: fix commit r6789
@ 2009-03-10 19:37 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-03-10 19:37 UTC (permalink / raw)
  To: qemu-devel

Revision: 6804
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6804
Author:   aurel32
Date:     2009-03-10 19:37:28 +0000 (Tue, 10 Mar 2009)
Log Message:
-----------
target-ppc: fix commit r6789

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Modified Paths:
--------------
    trunk/target-ppc/translate_init.c

Modified: trunk/target-ppc/translate_init.c
===================================================================
--- trunk/target-ppc/translate_init.c	2009-03-10 19:25:13 UTC (rev 6803)
+++ trunk/target-ppc/translate_init.c	2009-03-10 19:37:28 UTC (rev 6804)
@@ -452,7 +452,7 @@
 static void spr_read_spefscr (void *opaque, int gprn, int sprn)
 {
     TCGv_i32 t0 = tcg_temp_new_i32();
-    tcg_gen_ld_tl(t0, cpu_env, offsetof(CPUState, spe_fscr));
+    tcg_gen_ld_i32(t0, cpu_env, offsetof(CPUState, spe_fscr));
     tcg_gen_extu_i32_tl(cpu_gpr[gprn], t0);
     tcg_temp_free_i32(t0);
 }
@@ -461,7 +461,7 @@
 {
     TCGv_i32 t0 = tcg_temp_new_i32();
     tcg_gen_trunc_tl_i32(t0, cpu_gpr[gprn]);
-    tcg_gen_st_tl(t0, cpu_env, offsetof(CPUState, spe_fscr));
+    tcg_gen_st_i32(t0, cpu_env, offsetof(CPUState, spe_fscr));
     tcg_temp_free_i32(t0);
 }
 

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

only message in thread, other threads:[~2009-03-10 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 19:37 [Qemu-devel] [6804] target-ppc: fix commit r6789 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).