From patchwork Sat Feb 20 10:08:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jay Foad X-Patchwork-Id: 45913 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 D24D9B7CE6 for ; Sat, 20 Feb 2010 21:13:05 +1100 (EST) Received: from localhost ([127.0.0.1]:36168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NimI5-0004ko-O6 for incoming@patchwork.ozlabs.org; Sat, 20 Feb 2010 05:10:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NimGK-0004i6-Bi for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:36 -0500 Received: from [199.232.76.173] (port=35814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NimGJ-0004hC-8X for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NimGI-0005G9-Jc for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:35 -0500 Received: from mail-bw0-f218.google.com ([209.85.218.218]:56805) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NimGI-0005G3-AU for qemu-devel@nongnu.org; Sat, 20 Feb 2010 05:08:34 -0500 Received: by bwz10 with SMTP id 10so647462bwz.2 for ; Sat, 20 Feb 2010 02:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xxqimL++pVt0IT5p3X1Lkm6VBWLXfVPh2wBp9fj0JEU=; b=xG472/V5si201gIqD9XT0uhK28EZ1bn9BQESGb0A/mY4NcD4UhHNjGBU65Vag7Pu/1 9bMS8oRNVosP1NBY5qN9wCFauUZQEG/IGLuzpVfw3LqVeUx0uQHwiBRahMB0AmIxMa8E 64Sh1k45JavODX4n0eTw771CykS6vDVtIUNkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ti76/HWuiIItwcwGU+zNBQdntyMijBWz5lXeMbu5hhN+XXqCpipRNXtzruWpZiRY4t 9zSW24JDCzW2LllTL/wLKvWLbN/OKMJaQ1ssuZl2CUl8WVcGPgJoEqlyRYVuc1zvNiIa QmgozcaeOYobE7tCTQ3GCYN2RDefTtntgiI2A= MIME-Version: 1.0 Received: by 10.204.131.207 with SMTP id y15mr4350336bks.69.1266660513251; Sat, 20 Feb 2010 02:08:33 -0800 (PST) Date: Sat, 20 Feb 2010 10:08:33 +0000 Message-ID: From: Jay Foad To: qemu-devel@nongnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH v2] tcg: fix assertion with --enable-debug 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 On 32-bit hosts op_qemu_ld32s is unused. Remove it to fix the following assertion failure: qemu-alpha: tcg/tcg.c:1055: tcg_add_target_add_op_defs: Assertion `tcg_op_defs[op].used' failed. Signed-off-by: Jay Foad --- tcg/tcg-opc.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) DEF2(qemu_ld64, 2, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS) diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h index 89db3b4..838f1f4 100644 --- a/tcg/tcg-opc.h +++ b/tcg/tcg-opc.h @@ -224,11 +224,6 @@ DEF2(qemu_ld32u, 1, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS) DEF2(qemu_ld32u, 1, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS) #endif #if TARGET_LONG_BITS == 32 -DEF2(qemu_ld32s, 1, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS) -#else -DEF2(qemu_ld32s, 1, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS) -#endif -#if TARGET_LONG_BITS == 32 DEF2(qemu_ld64, 2, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS) #else