From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOrwb-0002TR-9h for qemu-devel@nongnu.org; Wed, 25 Sep 2013 12:28:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOrwV-00035a-Gu for qemu-devel@nongnu.org; Wed, 25 Sep 2013 12:28:05 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:38156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOrwV-00035M-AI for qemu-devel@nongnu.org; Wed, 25 Sep 2013 12:27:59 -0400 Received: by mail-pd0-f175.google.com with SMTP id q10so6306476pdj.34 for ; Wed, 25 Sep 2013 09:27:58 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Wed, 25 Sep 2013 09:27:28 -0700 Message-Id: <1380126458-3247-12-git-send-email-rth@twiddle.net> In-Reply-To: <1380126458-3247-1-git-send-email-rth@twiddle.net> References: <1380126458-3247-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 11/21] tcg-ppc64: Use tcg_out64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: anthony@codemonkey.ws Signed-off-by: Richard Henderson --- tcg/ppc64/tcg-target.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 848029f..27a955b 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -997,9 +997,6 @@ static void tcg_out_qemu_st(TCGContext *s, const TCGArg *args, int opc) static void tcg_target_qemu_prologue(TCGContext *s) { int i, frame_size; -#ifndef __APPLE__ - uint64_t addr; -#endif frame_size = 0 + 8 /* back chain */ @@ -1020,8 +1017,7 @@ static void tcg_target_qemu_prologue(TCGContext *s) #ifndef __APPLE__ /* First emit adhoc function descriptor */ - addr = (uint64_t) s->code_ptr + 24; - tcg_out32(s, addr >> 32); tcg_out32(s, addr); /* entry point */ + tcg_out64(s, (uint64_t)s->code_ptr + 24); /* entry point */ s->code_ptr += 16; /* skip TOC and environment pointer */ #endif -- 1.8.1.4