From patchwork Wed Oct 23 15:07:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 1182234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-511595-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="JqBgnFFQ"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46ytzF1yQvz9sPV for ; Thu, 24 Oct 2019 02:07:51 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=kcWSAI6rEDhJxOKLCctxVoC4DTGOQXGHB+5i4EcN/6Z7+9uijqn+7 HLie9bxcp1cChOUgSzlFwVn6RqO15OGHKmI2jTLiGS6ASQ4Hzl1NrSWyuPP6gF5Q ATHTcpDUnuO3o9wnh305PbsrymyzGg9gqsP2MsEPyRfMZrHh8I6wEQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=L0787coqM2oJY0gFzjCV2Rl+VRg=; b=JqBgnFFQCJggSOWY1i8k rL4xrJaSzvXHLiznmFmXIidKAhMhsLdJ8LmnZGypNxuS2nHO99vF4g6WJ4yj/h3x OkHgpeNDQFVoWzr8QOcw9CljoIgwRKs87tjv8D3n9+jWIibRKu0uU/CLwb9ALTaX vh7ip84OoNRo/rdIytcikSE= Received: (qmail 92322 invoked by alias); 23 Oct 2019 15:07:43 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 92314 invoked by uid 89); 23 Oct 2019 15:07:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS autolearn=ham version=3.3.1 spammy=1000000 X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 Oct 2019 15:07:41 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 2D5B428082C; Wed, 23 Oct 2019 17:07:38 +0200 (CEST) Date: Wed, 23 Oct 2019 17:07:38 +0200 From: Jan Hubicka To: gcc-patches@gcc.gnu.org Subject: Reduce inline-heuristics-hint-percent (to fix exchange2 regression) Message-ID: <20191023150738.nhdvre7exyxwfusk@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Hi, this patch reduces inline-heuristics-hint-percent so inliner behaves more similarly to what it did before I introduced this param. Bootstrapped/regtested x86_64-linux, comitted. I plan to do more tuning on this parameter, but the value of 1600 was actually a typo. Index: ChangeLog =================================================================== --- ChangeLog (revision 277332) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2019-10-23 Jan Hubicka + + PR ipa/92074 + * params.def (inline-heuristics-hint-percent): Set to 600. + 2019-10-23 Richard Biener PR tree-optimization/65930 Index: params.def =================================================================== --- params.def (revision 277330) +++ params.def (working copy) @@ -105,7 +105,7 @@ DEFPARAM (PARAM_MAX_INLINE_INSNS_SMALL, DEFPARAM (PARAM_INLINE_HEURISTICS_HINT_PERCENT, "inline-heuristics-hint-percent", "The scale (in percents) applied to inline-insns-single and auto limits when heuristics hints that inlining is very profitable with -O3 and -Ofast.", - 1600, 100, 1000000) + 600, 100, 1000000) DEFPARAM (PARAM_INLINE_HEURISTICS_HINT_PERCENT_O2, "inline-heuristics-hint-percent-O2",