Received: from eggs.gnu.org ([2001:4830:134:3::10]:46253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT5ip-0006ZR-9C for qemu-devel@nongnu.org; Tue, 09 Feb 2016 05:40:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT5im-0005Qb-G1 for qemu-devel@nongnu.org; Tue, 09 Feb 2016 05:40:39 -0500 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:36243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT5im-0005QX-8T for qemu-devel@nongnu.org; Tue, 09 Feb 2016 05:40:36 -0500 Received: by mail-pf0-x242.google.com with SMTP id e127so2328530pfe.3 for ; Tue, 09 Feb 2016 02:40:36 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Tue, 9 Feb 2016 21:39:57 +1100 Message-Id: <1455014403-10742-10-git-send-email-rth@twiddle.net> In-Reply-To: <1455014403-10742-1-git-send-email-rth@twiddle.net> References: <1455014403-10742-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 09/15] tcg-mips: Fix exit_tb for mips64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: james.hogan@imgtec.com, aurelien@aurel32.net Signed-off-by: Richard Henderson --- tcg/mips/tcg-target.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index b5982de..b8c5d90 100644 --- a/tcg/mips/tcg-target.c +++ b/tcg/mips/tcg-target.c @@ -1656,6 +1656,7 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, { TCGReg b0 = TCG_REG_ZERO; + a0 = (intptr_t)a0; if (a0 & ~0xffff) { tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_V0, a0 & ~0xffff); b0 = TCG_REG_V0; -- 2.5.0