From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lniej-0000vE-Gy for qemu-devel@nongnu.org; Sat, 28 Mar 2009 20:13:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lniei-0000v2-LE for qemu-devel@nongnu.org; Sat, 28 Mar 2009 20:13:40 -0400 Received: from [199.232.76.173] (port=58783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lniei-0000uz-Hj for qemu-devel@nongnu.org; Sat, 28 Mar 2009 20:13:40 -0400 Received: from savannah.gnu.org ([199.232.41.3]:56692 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lniei-0005Pq-Bx for qemu-devel@nongnu.org; Sat, 28 Mar 2009 20:13:40 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Lnieh-0002bg-NI for qemu-devel@nongnu.org; Sun, 29 Mar 2009 00:13:39 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Lnieh-0002bb-CM for qemu-devel@nongnu.org; Sun, 29 Mar 2009 00:13:39 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 29 Mar 2009 00:13:39 +0000 Subject: [Qemu-devel] [6922] target-alpha: Fix bug: palcode is at least 6 bits. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Signed-off-by: Aurelien Jarno 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 */