From patchwork Tue Jun 22 11:35:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 56462 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]) by ozlabs.org (Postfix) with SMTP id A5A49B6F0E for ; Tue, 22 Jun 2010 21:36:53 +1000 (EST) Received: (qmail 14591 invoked by alias); 22 Jun 2010 11:36:51 -0000 Received: (qmail 14576 invoked by uid 22791); 22 Jun 2010 11:36:50 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nikam-dmz.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Jun 2010 11:36:45 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 7591C9AC873; Tue, 22 Jun 2010 13:36:43 +0200 (CEST) Resent-From: hubicka@kam.mff.cuni.cz Resent-Date: Tue, 22 Jun 2010 13:36:43 +0200 Resent-Message-ID: <20100622113643.GA2079@kam.mff.cuni.cz> Resent-To: gcc-patches@gcc.gnu.org Date: Tue, 22 Jun 2010 13:35:46 +0200 From: Jan Hubicka To: gcc-patches@gcc.gnu.rg Subject: [wwwdocs] Some news into gcc-4.6 Message-ID: <20100622113546.GA18560@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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 Hi, before we forget about this, this patch announces the new -fsuggest-attribute feature and changes in IPA. For marketing reasons I think we might add compile time and memory usage improvements and mention df changes (and hopefully others). The buildtime improved from over 11m to 9m42s, so I am quite safe with that 10% claim. Honza Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v retrieving revision 1.18 diff -u -r1.18 changes.html --- changes.html 13 Jun 2010 12:44:28 -0000 1.18 +++ changes.html 22 Jun 2010 11:33:43 -0000 @@ -43,6 +43,34 @@ with options that can affect standards compliance but result in better optimized code. For example -Ofast enables -ffast-math. +
  • Interprocedural optimizations improvements
  • +
      +
    • Interprocedural framework was re-tuned for link time + optimization.
    • +
    • Improved auto-detection of const and pure + functions. Newly noreturn functions are auto-detected. +

      -fsuggest-attribute flag is available to make compiler + to inform users when adding attributes into headers might improve + code generation.

    • +
    • Inlining heuristics was improved: +
        +
      • Number of problems with large compilation units was fixed.
      • +
      • Inlining of callbacks is now more aggressive.
      • +
      • Virtual methods are inlined caller is inlined + and devirtualization is possible then.
      • +
      +
    • +
    + + +

    Compile time and memory usage improvements

    +
      +
    • Datastructures used by dataflow framework in GCC was reorganized + for better memory usage and more cache locality. Compile + time is improved especially on units with large functions (possibly + resulting from a lot of inlining) not fitting in processor cache. + Compile time of GCC C compiler binary with link time optimization + was improved by over 10% (benchmared on x86-64 target).

    New Languages and Language specific improvements