From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgFdY-0003N3-Ng for qemu-devel@nongnu.org; Thu, 18 Sep 2008 05:17:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgFdX-0003Lk-2Z for qemu-devel@nongnu.org; Thu, 18 Sep 2008 05:17:19 -0400 Received: from [199.232.76.173] (port=60478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgFdW-0003LU-Fd for qemu-devel@nongnu.org; Thu, 18 Sep 2008 05:17:18 -0400 Received: from savannah.gnu.org ([199.232.41.3]:58824 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 1KgFdW-0005Pu-Pt for qemu-devel@nongnu.org; Thu, 18 Sep 2008 05:17:18 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KgFdU-0004A6-6x for qemu-devel@nongnu.org; Thu, 18 Sep 2008 09:17:16 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KgFdT-0004A2-BE for qemu-devel@nongnu.org; Thu, 18 Sep 2008 09:17:15 +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: Thu, 18 Sep 2008 09:17:15 +0000 Subject: [Qemu-devel] [5248] alpha: fix a missing literal sign issue 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: 5248 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5248 Author: aurel32 Date: 2008-09-18 09:17:13 +0000 (Thu, 18 Sep 2008) Log Message: ----------- alpha: fix a missing literal sign issue Reported by Tristan Gingold Modified Paths: -------------- trunk/target-alpha/translate.c Modified: trunk/target-alpha/translate.c =================================================================== --- trunk/target-alpha/translate.c 2008-09-18 00:02:17 UTC (rev 5247) +++ trunk/target-alpha/translate.c 2008-09-18 09:17:13 UTC (rev 5248) @@ -390,7 +390,7 @@ static always_inline void gen_cmov (DisasContext *ctx, TCGCond inv_cond, int ra, int rb, int rc, - int islit, int8_t lit, int mask) + int islit, uint8_t lit, int mask) { int l1; @@ -477,7 +477,7 @@ /* EXTWH, EXTWH, EXTLH, EXTQH */ static always_inline void gen_ext_h(void (*tcg_gen_ext_i64)(TCGv t0, TCGv t1), int ra, int rb, int rc, - int islit, int8_t lit) + int islit, uint8_t lit) { if (unlikely(rc == 31)) return; @@ -508,7 +508,7 @@ /* EXTBL, EXTWL, EXTWL, EXTLL, EXTQL */ static always_inline void gen_ext_l(void (*tcg_gen_ext_i64)(TCGv t0, TCGv t1), int ra, int rb, int rc, - int islit, int8_t lit) + int islit, uint8_t lit) { if (unlikely(rc == 31)) return; @@ -567,7 +567,7 @@ int32_t disp21, disp16, disp12; uint16_t fn11, fn16; uint8_t opc, ra, rb, rc, sbz, fpfn, fn7, fn2, islit; - int8_t lit; + uint8_t lit; int ret; /* Decode all instruction fields */