From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50042 invoked by alias); 13 Apr 2015 12:39:43 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 50033 invoked by uid 89); 13 Apr 2015 12:39:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 13 Apr 2015 12:39:42 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3DCdePp006719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Apr 2015 08:39:40 -0400 Received: from localhost.localdomain (ovpn-113-99.phx2.redhat.com [10.3.113.99]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3DCdeY4000534; Mon, 13 Apr 2015 08:39:40 -0400 Message-ID: <552BB90C.2040205@redhat.com> Date: Mon, 13 Apr 2015 12:39:00 -0000 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Maxim Kuvyrkov , GCC Patches CC: Vladimir Makarov Subject: Re: [PATCH] Support disabling of sched autoprefetcher from command line References: <83557C87-8594-4191-B760-1CC7D06C14D2@linaro.org> In-Reply-To: <83557C87-8594-4191-B760-1CC7D06C14D2@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00579.txt.bz2 On 02/01/2015 12:55 AM, Maxim Kuvyrkov wrote: > Hi, > > It turned out that the values for PARAM_SCHED_AUTOPREF_QUEUE_DEPTH > that I initially selected were unfortunate. The value of "-1" is > special in parameter handling code, and it can't be used on command > line. This makes it impossible to disable scheduler autoprefetcher > from command line ("-1" corresponds to "disable autoprefetcher > model"). > > This patch shifts the set of a allowed values for > PARAM_SCHED_AUTOPREF_QUEUE_DEPTH by +1, so that the "disable" value > is "0". > > OK for stage 1? Tested on arm-linux-gnueabihf, and I will bootstrap > and test the patch on trunk before committing. > > Thank you, > > -- Maxim Kuvyrkov www.linaro.org > > > > 0002-Support-disabling-of-sched-autoprefetcher-from-comma.patch > > > From b86515013dec067419d16d11c138ba8b74ede1c5 Mon Sep 17 00:00:00 > 2001 From: Maxim Kuvyrkov Date: Sun, 18 > Jan 2015 13:22:56 +0000 Subject: [PATCH 2/2] Support disabling of > sched autoprefetcher from command line > > * config/arm/arm.c (arm_cortex_a15_tune, arm_cortex_a57_tune): > Update. * haifa-sched.c: Increase values for > PARAM_SCHED_AUTOPREF_QUEUE_DEPTH by +1 throughout. > (rank_for_schedule, autopref_multipass_dfa_lookahead_guard): Update. > * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): Update. OK once the final bootstrap and testing are complete. Jeff