From patchwork Mon Feb 22 16:43:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 45972 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C726BB7CE2 for ; Tue, 23 Feb 2010 03:47:43 +1100 (EST) Received: from localhost ([127.0.0.1]:41229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjbRa-0007jv-3b for incoming@patchwork.ozlabs.org; Mon, 22 Feb 2010 11:47:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjbOH-0006o5-BV for qemu-devel@nongnu.org; Mon, 22 Feb 2010 11:44:13 -0500 Received: from [199.232.76.173] (port=58542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjbOG-0006nq-WD for qemu-devel@nongnu.org; Mon, 22 Feb 2010 11:44:13 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NjbOF-0002w9-Hj for qemu-devel@nongnu.org; Mon, 22 Feb 2010 11:44:12 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:60624) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NjbOE-0002vz-RV for qemu-devel@nongnu.org; Mon, 22 Feb 2010 11:44:11 -0500 Received: from flocke.weilnetz.de (p54ADFB31.dip.t-dialin.net [84.173.251.49]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Mhh2N-1O5Ncw2NT1-00MQKb; Mon, 22 Feb 2010 17:44:01 +0100 Received: from stefan by flocke.weilnetz.de with local (Exim 4.71) (envelope-from ) id 1NjbO4-0002d8-FY; Mon, 22 Feb 2010 17:44:00 +0100 From: Stefan Weil To: QEMU Developers X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <4B82A142.9060608@mail.berlios.de> References: <4B82A142.9060608@mail.berlios.de> X-Provags-ID: V01U2FsdGVkX198W+xoVidHV4/p0Q4I8kqDYjsG8n1DdY69kKX 0qrj1mRxZKg1YA5eCDCXft11mj8eA3MVMkWathoF4woFKSKC9z ig6M3PFnpMLo0ThR53tF7nRx546/JS1KmmAh5GkePU/vDLprz3 Zqw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: blauwirbel@gmail.com, jay.foad@gmail.com, agraf@suse.de Subject: [Qemu-devel] [PATCH] tcg/ppc: Add missing conditional compilation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org INDEX_op_qemu_ld32s is only used when TCG_TARGET_REG_BITS == 64. This fixes a compile error (reported by Alexander Graf). Signed-off-by: Stefan Weil --- tcg/ppc/tcg-target.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 903b69f..9f801c2 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -1693,7 +1693,9 @@ static const TCGTargetOpDef ppc_op_defs[] = { { INDEX_op_qemu_ld16u, { "r", "L" } }, { INDEX_op_qemu_ld16s, { "r", "L" } }, { INDEX_op_qemu_ld32u, { "r", "L" } }, +#if TCG_TARGET_REG_BITS == 64 { INDEX_op_qemu_ld32s, { "r", "L" } }, +#endif { INDEX_op_qemu_ld64, { "r", "r", "L" } }, { INDEX_op_qemu_st8, { "K", "K" } }, @@ -1706,7 +1708,9 @@ static const TCGTargetOpDef ppc_op_defs[] = { { INDEX_op_qemu_ld16u, { "r", "L", "L" } }, { INDEX_op_qemu_ld16s, { "r", "L", "L" } }, { INDEX_op_qemu_ld32u, { "r", "L", "L" } }, +#if TCG_TARGET_REG_BITS == 64 { INDEX_op_qemu_ld32s, { "r", "L", "L" } }, +#endif { INDEX_op_qemu_ld64, { "r", "L", "L", "L" } }, { INDEX_op_qemu_st8, { "K", "K", "K" } },