Message ID | 20171010193003.28857-20-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4123713qgn; Tue, 10 Oct 2017 12:42:12 -0700 (PDT) X-Received: by 10.200.3.14 with SMTP id q14mr21776075qtg.336.1507664532049; Tue, 10 Oct 2017 12:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507664532; cv=none; d=google.com; s=arc-20160816; b=sV5jkdK1H9hbglAG+g2FMRI55DCb3V0IHfJU0QPTqybJlbMM9iyzeLfXHuJ7CMgcMf dXt1fgc0E/qQc1xs1H6XyJg39BmW7FeRYZZja9hq8bNm5WOuyPR3mOwSUMenNcg7JUFs PG3l4c3Dd7zOeTczPdt/X3HZqRJxU83cJ36K56mdrza1xK2v16Wv9L9uC+YqezZUjNTs uRH9Y9EfS/JdrJ+vJc8Av4uvg2GV4GpgVTCIl+F03YJDc2sLDsyl9Lc+Yf7qlLCJKjXQ kmwULakp1lg2PNHsQ1bR4Ev9WwOWKf71WDfPSO70NU23Ls7lPJjwKK0v46MWLlOQHCi0 nPFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=Xxy9567/LyD/NAl1R9dzWOF5rk63KT8JXQlJtDyUSpQ=; b=g+SXo/GYmQTe3niEqe8iutVEqesDdxUHNsjrxR68VmJSDOvB4fKDHHUhe0jLgrn4ra q045gjaqlTvzb/Kwaf1ClgTQqhxX7wklf0lcnTenpxtkpci5SWgcwH83DeDNE/y0YUlu tf7Puu5clJguz8AyLe143vs3v8zZNmJSEaqkPRHJN1Fs/6omtN/9e/m6/JYAkTyNg8Qa YPq75KarUBoEHCEzgTieutvfjXohFcNjVk/DupSlE6fUru6pe/e2HeQUBIWCLNeBkL6u 714QBCRQEGfOcpB8VgcLTB++lBnu0QYxMd0VN8r/mtufzSXrQSCFQRz47V0C/ng3re61 zA5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CvnQNCw6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t126si4312929qkh.544.2017.10.10.12.42.11 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 10 Oct 2017 12:42:12 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CvnQNCw6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1e20Pp-0001FU-Uc for patch@linaro.org; Tue, 10 Oct 2017 15:42:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e20Ec-0000ps-5G for qemu-devel@nongnu.org; Tue, 10 Oct 2017 15:30:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e20Eb-00058X-2F for qemu-devel@nongnu.org; Tue, 10 Oct 2017 15:30:34 -0400 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:47480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1e20Ea-00058G-T0 for qemu-devel@nongnu.org; Tue, 10 Oct 2017 15:30:32 -0400 Received: by mail-pf0-x231.google.com with SMTP id z11so8330548pfk.4 for <qemu-devel@nongnu.org>; Tue, 10 Oct 2017 12:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xxy9567/LyD/NAl1R9dzWOF5rk63KT8JXQlJtDyUSpQ=; b=CvnQNCw6OVJDXNuXROE0FyeR5W223VwJtXHq1eOFdtzMQmeXIr3Mg4B9IWvOQLbaDe F2BDlyu8vRe8c6vrW24TUUKChAv3rJLE4Ttspn04xq/5z3dgw8Ia0vCJ4b0E402TJBGh UAar8xDPvu99R6HFxFl8mC6HgMhRHfwX4hBFg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xxy9567/LyD/NAl1R9dzWOF5rk63KT8JXQlJtDyUSpQ=; b=CRYydxMD2tDus6L6ZJvSy11CtTMMqm2D8Gjz6lgIac3ezvgY4hYRKQjnAqZLMCv9Mx s/TeDcrem5N0qcMdEgu5cQguw3Rds+YIqzsS6MvockMIcchQTq63TGu5TXlKS3PqgRuS dumguowYP4HtoXvm+3qBj/x3cD6hqVlUC0r+mN0HuRdZnYp0qJTX4elqGxOUQbySDCib 2eWx/TnOhnyq7T/8mLy03ZAbpGjwy4Rbbmahn1/zfjzUlKO5SbqYb7GVhmaP6ioBJXbR RRoaSg97PR/uTr3FkT6NyycHfwECQEuhd2qM34HfESbt3P4lAxTT/2gH4NffyIGqKtA0 pgFw== X-Gm-Message-State: AMCzsaURNe8zDuuHnVh5cL6+SEdBVqGWY5MebkaMsgg6OIJqWzsP58B1 q8VqTi7Hzt/Pg0bcyHI46pQ0mGfO/Io= X-Google-Smtp-Source: AOwi7QClrZlvihdJgRC+g3YU4sZOBnQXgwyO4bY0g2CSu7ytJGPIE6o0Qsos7dGBg4Zn35BbvrgOvw== X-Received: by 10.98.65.27 with SMTP id o27mr14601392pfa.327.1507663831704; Tue, 10 Oct 2017 12:30:31 -0700 (PDT) Received: from bigtime.twiddle.net (97-126-104-76.tukw.qwest.net. [97.126.104.76]) by smtp.gmail.com with ESMTPSA id r22sm19859788pfl.15.2017.10.10.12.30.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Oct 2017 12:30:30 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Tue, 10 Oct 2017 12:30:02 -0700 Message-Id: <20171010193003.28857-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171010193003.28857-1-richard.henderson@linaro.org> References: <20171010193003.28857-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::231 Subject: [Qemu-devel] [PULL v2 19/20] tcg: define TCG_HIGHWATER X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, "Emilio G. Cota" <cota@braap.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
Queued TCG patches
|
expand
|
diff --git a/tcg/tcg.c b/tcg/tcg.c index ee60798438..4492e1eb3f 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -116,6 +116,8 @@ static int tcg_target_const_match(tcg_target_long val, TCGType type, static bool tcg_out_ldst_finalize(TCGContext *s); #endif +#define TCG_HIGHWATER 1024 + static TCGRegSet tcg_target_available_regs[2]; static TCGRegSet tcg_target_call_clobber_regs; @@ -430,7 +432,7 @@ void tcg_prologue_init(TCGContext *s) /* Compute a high-water mark, at which we voluntarily flush the buffer and start over. The size here is arbitrary, significantly larger than we expect the code generation for any one opcode to require. */ - s->code_gen_highwater = s->code_gen_buffer + (total_size - 1024); + s->code_gen_highwater = s->code_gen_buffer + (total_size - TCG_HIGHWATER); tcg_register_jit(s->code_gen_buffer, total_size);