From patchwork Mon Jun 19 18:18:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9797141 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E058A600C5 for ; Mon, 19 Jun 2017 18:22:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B75F62844C for ; Mon, 19 Jun 2017 18:22:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC40B28459; Mon, 19 Jun 2017 18:22:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C92A2844C for ; Mon, 19 Jun 2017 18:22:43 +0000 (UTC) Received: from localhost ([::1]:43838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN1Jy-00027Y-OR for patchwork-qemu-devel@patchwork.kernel.org; Mon, 19 Jun 2017 14:22:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN1GE-0008NJ-UP for qemu-devel@nongnu.org; Mon, 19 Jun 2017 14:18:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dN1GE-0002EZ-1q for qemu-devel@nongnu.org; Mon, 19 Jun 2017 14:18:50 -0400 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:35273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dN1GD-0002EI-SB for qemu-devel@nongnu.org; Mon, 19 Jun 2017 14:18:49 -0400 Received: by mail-pg0-x243.google.com with SMTP id f127so17441415pgc.2 for ; Mon, 19 Jun 2017 11:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=L4u9mOJHRqRlsFhKbPNAX6M4Zf3hr6ReJz90aqEq6WQ=; b=D98CCO/z4dR9Fwf37T1QTvkojnQ9jTWDl/xPrLZ1InPPWWI45Ud24t4OHA6vAsvN3u j0APdAZKsuWdnx7W4byg7aVxWdAY7aJoZ5q2RNQv3xmbZmA48lcv/JfThEgL3S2ib9xP lkUiid6fE+ns8Baubcdo9Pgtl0i5Wg0jVj8OJHgMpAM4XuvKqdQpofdVSZwcXErxEVNE XYvHSfz2QBcV9CU82ae5nZ4exHEsfKByGVoz5foM7yBjA2yfN7GkhYnEmS/+IdmtHhny DxjJ1j5U6NX3Fu/RXcitzNf4wLUADvfoTsUfa4t1tKM6DQfqjBztovGtQwxr1iKyW8Kb MPIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=L4u9mOJHRqRlsFhKbPNAX6M4Zf3hr6ReJz90aqEq6WQ=; b=umZpmijGVSe8W9+L9XrJ24ULU0r7Ug3mNQ72dYHwoOHecq/iHBV4nQcqUUekIAU2+t Pdg/ThC6cqHyeblJoViXN7q/xx/ln0NU/fkp8c3qCHYrhkRrtYzGYA8L9f9wPGeyxgzZ V0V4Zckx30KcrDS+vtCuN96lbA6MlN96qGknhWNlW4nFZJg6twyCMvlcIsTCEN0U1BCG FVKVqPZuS2MGZWlgQb4T2dhAIuQ8ec5ILB478kzEfhsch0SkIzDjtmZziE8EZItFFPti DiyfC8bWk8bTV+k8fa6lsP6TyxbKVIad8fGtk2IIK7A/UKSuSV/4Xr2js9ybGvwVUBLX C4Dg== X-Gm-Message-State: AKS2vOxn/KH2Zn8wbPpfp7lBENlBzjNTyO6Wbhyrr25MV61sBsSiueQQ Ewo4VB3kb/fudpuSj2s= X-Received: by 10.84.232.137 with SMTP id i9mr13270181plk.154.1497896328812; Mon, 19 Jun 2017 11:18:48 -0700 (PDT) Received: from pike.twiddle.net (97-113-165-157.tukw.qwest.net. [97.113.165.157]) by smtp.gmail.com with ESMTPSA id e63sm22917171pfb.18.2017.06.19.11.18.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jun 2017 11:18:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 19 Jun 2017 11:18:33 -0700 Message-Id: <20170619181839.25249-7-rth@twiddle.net> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170619181839.25249-1-rth@twiddle.net> References: <20170619181839.25249-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::243 Subject: [Qemu-devel] [PULL 06/12] tcg/arm: Remove limit on code buffer size X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Since we're no longer using a direct branch, we have no limit on the branch distance. Signed-off-by: Richard Henderson --- translate-all.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/translate-all.c b/translate-all.c index 46c5592..d4f364d 100644 --- a/translate-all.c +++ b/translate-all.c @@ -523,8 +523,6 @@ static inline PageDesc *page_find(tb_page_addr_t index) # define MAX_CODE_GEN_BUFFER_SIZE (32u * 1024 * 1024) #elif defined(__aarch64__) # define MAX_CODE_GEN_BUFFER_SIZE (128ul * 1024 * 1024) -#elif defined(__arm__) -# define MAX_CODE_GEN_BUFFER_SIZE (16u * 1024 * 1024) #elif defined(__s390x__) /* We have a +- 4GB range on the branches; leave some slop. */ # define MAX_CODE_GEN_BUFFER_SIZE (3ul * 1024 * 1024 * 1024)