From patchwork Thu Jun 6 20:22:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Teresa Johnson X-Patchwork-Id: 249541 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 548292C009D for ; Fri, 7 Jun 2013 06:22:44 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=i/T3OpR2sf6FF/20QtWmi5VEZAa3mG1NqYKBvfP7Fqy/Nf 1K1GF0AX1lKm0U6LbyrepDSadAPmSpBOXE+Ne8Gaa4Q5cthR0AJH9NtQ/g1JBunJ xkjrQnmjUfgAFHxKEDDlnsiSCLqaIeA9E9YgUY8sY0cOHNEq8X2ID5Tf4bK6E= 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 :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=U1LT83Jco391NXVmjzZFKqDZ9KE=; b=iSKhsTb+WtVOMShOpiu3 VujGq0nd/KQdt6wrFP6iuqKP7MP1ouiLdZwlBRHFuF5IEH/ITjuvB3RcJfPwxGlw f8p6yiB2eXM8GRg6zw/YOZOWXazFYG5h4bXrGVK4EDR4yjWcIDb3qJy31dIs3H0N AHtkYqKr3VDzl8x7i4z9lqw= Received: (qmail 8554 invoked by alias); 6 Jun 2013 20:22:38 -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 8545 invoked by uid 89); 6 Jun 2013 20:22:37 -0000 X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.1 Received: from mail-qe0-f46.google.com (HELO mail-qe0-f46.google.com) (209.85.128.46) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 06 Jun 2013 20:22:37 +0000 Received: by mail-qe0-f46.google.com with SMTP id w7so2214620qeb.19 for ; Thu, 06 Jun 2013 13:22:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=oh8oacR/FWT36bvIxaoil7rQQxP0SCHSXXhI77B39w4=; b=eiNx/0RoThhTZwQsQYIjpgQrkiCSXzw32YdxMcVOTd03o8lHnxtgOMY9on+5J6xgAU MW8jtBIIWh31vYIOcWKjiLHqSbB04Cg8Xm+zRt0XGrZhB+ujfTUGGGybxIOP0cymxtYB T9BnTFoY6ldOudt2fuRxT1Hfz8fd5aelD0l8o2fOdpBo0J7+69lke41RAg1x5cE7lbaY 6nja7K07PTT17SPMTeZWphi8R/h2c5avUNyZZTxLjnZDDsmVhhMhJ0F4SWAaLERhMOA4 26XOdtKZQXiaWYb3Z/R3lXS78VzlEWVcLfKwyRPr4/t3d0B+a836RbDe9JRNkBp8jiAN NEiA== MIME-Version: 1.0 X-Received: by 10.49.94.170 with SMTP id dd10mr43089656qeb.31.1370550155294; Thu, 06 Jun 2013 13:22:35 -0700 (PDT) Received: by 10.49.42.37 with HTTP; Thu, 6 Jun 2013 13:22:35 -0700 (PDT) Date: Thu, 6 Jun 2013 13:22:35 -0700 Message-ID: Subject: [google gcc-4_8] Restore max peeled instructions to old default From: Teresa Johnson To: "gcc-patches@gcc.gnu.org" , David Li X-Gm-Message-State: ALoCoQkkATszBrIEsumH516LGg2XWG4sbzyUPxRS4shYTgNwGY8CfkEL0vmlQagt1rtMP/iLa1k5XS9tGtzAwUoW/lBtcHqOdnHr+Sic2Fc9MnuFqwp7geMg72M28bvfytXSNYlCbpnFBxNY3Z5rtvhzlElJ1gWX1AEHTN7z0oWyoeTG5oH5VbJwBc21c2IyzYdt3DcXmlNe The default for the max instructions in peeled loops was reduced on trunk in r193570. This is causing a performance regression on an internal benchmark. This change will revert to the old higher limits. Google ref b/8839137. Bootstrapped and tested. Ok for google/4_8? Thanks, Teresa 2013-06-06 Teresa Johnson * params.def (PARAM_MAX_PEELED_INSNS): Revert to 400. (PARAM_MAX_COMPLETELY_PEELED_INSNS): Ditto. "max-completely-peel-times", --- Teresa Johnson | Software Engineer | tejohnson@google.com | 408-460-2413 Index: params.def =================================================================== --- params.def (revision 199753) +++ params.def (working copy) @@ -306,7 +306,7 @@ DEFPARAM(PARAM_MAX_UNROLL_TIMES, DEFPARAM(PARAM_MAX_PEELED_INSNS, "max-peeled-insns", "The maximum number of insns of a peeled loop", - 100, 0, 0) + 400, 0, 0) /* The maximum number of peelings of a single loop. */ DEFPARAM(PARAM_MAX_PEEL_TIMES, "max-peel-times", @@ -321,7 +321,7 @@ DEFPARAM(PARAM_MAX_PEEL_BRANCHES, DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS, "max-completely-peeled-insns", "The maximum number of insns of a completely peeled loop", - 100, 0, 0) + 400, 0, 0) /* The maximum number of peelings of a single loop that is peeled completely. */ DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,