From patchwork Wed Sep 25 16:27:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 277940 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0F8D42C041B for ; Thu, 26 Sep 2013 03:15:43 +1000 (EST) Received: from localhost ([::1]:53844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOs1o-0002Zu-Hh for incoming@patchwork.ozlabs.org; Wed, 25 Sep 2013 12:33:28 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Zk4vwlytHBFpD/8OSC8f8z/1bA9Y70PLKZEUn/x45Po=; b=l3gu7tWBih4/dcYYh1YQ6qX48bZZhwyZ6OpQz227TLZFeXs7ggoHHeXyj2quT0DZdi pCYekmwABdSs60OQB1A3ae1ih/RX7sbeG3r/efNudSNSyQ/iCNk56D9LFDAJK/7Dg7zz upUi14c/uR2Kbo9FVJQBzd/V9wp52FHKdl4eo2DEMUeuDzChTNaSF57FWhRGg4Za5Xsc ARobsWr3uTYsHM7gyaL37OENnOEWHP3NIdm8fCSxq98X/sHlaAUpzwg3b+cNb7U0AELd qltbWoyCuY/Q/VcEbzL+TrdPgVqu1nZzA9amGwGt/OzgjU8dgmLM5C5tCZIiWVBMKP3V WphA== X-Received: by 10.66.216.234 with SMTP id ot10mr169507pac.122.1380126478433; Wed, 25 Sep 2013 09:27:58 -0700 (PDT) Received: from anchor.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id oj6sm54530947pab.9.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 25 Sep 2013 09:27:57 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 25 Sep 2013 09:27:28 -0700 Message-Id: <1380126458-3247-12-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1380126458-3247-1-git-send-email-rth@twiddle.net> References: <1380126458-3247-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22f Cc: anthony@codemonkey.ws Subject: [Qemu-devel] [PULL 11/21] tcg-ppc64: Use tcg_out64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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