target-ppc: fix regression introduced by commit 5729
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 18 Nov 2008 09:32:01 +0000 (09:32 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 18 Nov 2008 09:32:01 +0000 (09:32 +0000)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5733 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/translate.c

index cceb434..d92e04d 100644 (file)
@@ -3066,7 +3066,7 @@ void always_inline gen_qemu_st32r(TCGv t0, TCGv t1, int flags)
     tcg_gen_bswap_i32(temp, temp);
     tcg_gen_extu_i32_tl(t2, temp);
     tcg_temp_free_i32(temp);
-    gen_qemu_st16(t2, t1, flags);
+    gen_qemu_st32(t2, t1, flags);
     tcg_temp_free(t2);
 }
 GEN_STX(32r, 0x16, 0x14, PPC_INTEGER);