qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6922] target-alpha: Fix bug: palcode is at least 6 bits.
@ 2009-03-29  0:13 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-03-29  0:13 UTC (permalink / raw)
  To: qemu-devel

Revision: 6922
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6922
Author:   aurel32
Date:     2009-03-29 00:13:38 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
target-alpha: Fix bug: palcode is at least 6 bits.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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

Modified: trunk/target-alpha/translate.c
===================================================================
--- trunk/target-alpha/translate.c	2009-03-28 23:46:00 UTC (rev 6921)
+++ trunk/target-alpha/translate.c	2009-03-29 00:13:38 UTC (rev 6922)
@@ -692,7 +692,7 @@
             if (ctx->mem_idx & 1)
                 goto invalid_opc;
             else
-                gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x1F) << 6), 0);
+                gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x3F) << 6), 0);
 #endif
         } else {
             /* Invalid PAL call */

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

only message in thread, other threads:[~2009-03-29  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29  0:13 [Qemu-devel] [6922] target-alpha: Fix bug: palcode is at least 6 bits 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).