qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6758] Fix mfcr on ppc64-softmmu
@ 2009-03-07 20:57 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-03-07 20:57 UTC (permalink / raw)
  To: qemu-devel

Revision: 6758
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6758
Author:   aurel32
Date:     2009-03-07 20:57:47 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Fix mfcr on ppc64-softmmu

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

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

Modified: trunk/target-ppc/translate.c
===================================================================
--- trunk/target-ppc/translate.c	2009-03-07 20:57:42 UTC (rev 6757)
+++ trunk/target-ppc/translate.c	2009-03-07 20:57:47 UTC (rev 6758)
@@ -3855,8 +3855,8 @@
         if (likely(crm && ((crm & (crm - 1)) == 0))) {
             crn = ctz32 (crm);
             tcg_gen_extu_i32_tl(cpu_gpr[rD(ctx->opcode)], cpu_crf[7 - crn]);
-            tcg_gen_shli_i32(cpu_gpr[rD(ctx->opcode)],
-                             cpu_gpr[rD(ctx->opcode)], crn * 4);
+            tcg_gen_shli_tl(cpu_gpr[rD(ctx->opcode)],
+                            cpu_gpr[rD(ctx->opcode)], crn * 4);
         }
     } else {
         gen_helper_load_cr(cpu_gpr[rD(ctx->opcode)]);

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

only message in thread, other threads:[~2009-03-07 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-07 20:57 [Qemu-devel] [6758] Fix mfcr on ppc64-softmmu 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).