From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS6UM-0005rv-CL for qemu-devel@nongnu.org; Thu, 02 Jun 2011 07:54:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QS6UH-0005mM-2b for qemu-devel@nongnu.org; Thu, 02 Jun 2011 07:54:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS6UG-0005m3-KM for qemu-devel@nongnu.org; Thu, 02 Jun 2011 07:54:52 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p52BspSH021967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 2 Jun 2011 07:54:51 -0400 From: Juan Quintela Date: Thu, 2 Jun 2011 13:53:48 +0200 Message-Id: <40287222050bf7aa4f820caa38d44dbca60f73a0.1307014903.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 13/14] alpha: disp12 is not used for USER emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- target-alpha/translate.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 5c11cf2..fd286d8 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -1467,7 +1467,10 @@ static void gen_rx(int ra, int set) static ExitStatus translate_one(DisasContext *ctx, uint32_t insn) { uint32_t palcode; - int32_t disp21, disp16, disp12; + int32_t disp21, disp16; +#ifndef CONFIG_USER_ONLY + int32_t disp12; +#endif uint16_t fn11; uint8_t opc, ra, rb, rc, fpfn, fn7, islit, real_islit; uint8_t lit; @@ -1487,7 +1490,9 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn) palcode = insn & 0x03FFFFFF; disp21 = ((int32_t)((insn & 0x001FFFFF) << 11)) >> 11; disp16 = (int16_t)(insn & 0x0000FFFF); +#ifndef CONFIG_USER_ONLY disp12 = (int32_t)((insn & 0x00000FFF) << 20) >> 20; +#endif fn11 = (insn >> 5) & 0x000007FF; fpfn = fn11 & 0x3F; fn7 = (insn >> 5) & 0x0000007F; -- 1.7.5.2