From patchwork Sat Sep 14 21:54:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 274976 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 AD8592C014B for ; Sun, 15 Sep 2013 08:10:43 +1000 (EST) Received: from localhost ([::1]:54781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKy37-0006gb-La for incoming@patchwork.ozlabs.org; Sat, 14 Sep 2013 18:10:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKxok-00029P-2G for qemu-devel@nongnu.org; Sat, 14 Sep 2013 17:55:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKxoe-0004Ch-7w for qemu-devel@nongnu.org; Sat, 14 Sep 2013 17:55:49 -0400 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]:53390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKxoe-0004CX-0n for qemu-devel@nongnu.org; Sat, 14 Sep 2013 17:55:44 -0400 Received: by mail-pd0-f174.google.com with SMTP id y13so2639513pdi.33 for ; Sat, 14 Sep 2013 14:55:43 -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=ELeM6oduDueIp5eaUVdwuLa253hnriatkUXbyCe23ig=; b=LxrTMzzOdw93LFBzVuAISNfUUARkTqMq2EpF1RSNOAwiBLz7Cz4ASDc7SzWEH7zeHK Mpol3mYbGr3ARg/1PWfDy+e9LRRxg4oLJ1UmGQIDLIkukh9svE8kwpAj2fMSOCCzuKa7 1o7ogRUk3magdlJWT5j7ZEpcQCxIVwhXWOrS7a30bQjG0DLppOCJOhopYbv8Hffi/jqz TA44u091hd/3y9VqBn0r0kYgHLIvaGG9xmMysTrzRM/Ajb81SpJPPiJv0K5G/53itmmk Ob/uG41oo/8e/eIxUdQxNqtZbg6Vn226tGDonbBb8yvz6oqKbBaPhciivWxfn7YF36HW m67g== X-Received: by 10.66.155.36 with SMTP id vt4mr22493448pab.93.1379195743129; Sat, 14 Sep 2013 14:55:43 -0700 (PDT) Received: from pebble.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id gg10sm20458962pbc.46.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 14 Sep 2013 14:55:42 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 14 Sep 2013 14:54:50 -0700 Message-Id: <1379195690-6509-34-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1379195690-6509-1-git-send-email-rth@twiddle.net> References: <1379195690-6509-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::22e Cc: peter.maydell@linaro.org, claudio.fontana@gmail.com Subject: [Qemu-devel] [PATCH v4 33/33] tcg-aarch64: Remove redundant CPU_TLB_ENTRY_BITS check 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 Removed from other targets in 56bbc2f967ce185fa1c5c39e1aeb5b68b26242e9. Signed-off-by: Richard Henderson Reviewed-by: Claudio Fontana --- tcg/aarch64/tcg-target.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tcg/aarch64/tcg-target.c b/tcg/aarch64/tcg-target.c index 94f9ac1..a7d0785 100644 --- a/tcg/aarch64/tcg-target.c +++ b/tcg/aarch64/tcg-target.c @@ -1852,12 +1852,6 @@ static const TCGTargetOpDef aarch64_op_defs[] = { static void tcg_target_init(TCGContext *s) { -#if !defined(CONFIG_USER_ONLY) - /* fail safe */ - if ((1ULL << CPU_TLB_ENTRY_BITS) != sizeof(CPUTLBEntry)) { - tcg_abort(); - } -#endif tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xffffffff); tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I64], 0, 0xffffffff);