From patchwork Thu May 9 06:25:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 1933338 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=pfeifer.com header.i=@pfeifer.com header.a=rsa-sha256 header.s=pair-202402271039 header.b=US00Bhv1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VZhq94w73z20fZ for ; Thu, 9 May 2024 16:26:13 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BABB33858427 for ; Thu, 9 May 2024 06:26:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) by sourceware.org (Postfix) with ESMTPS id 7D7CE3858D34 for ; Thu, 9 May 2024 06:25:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7D7CE3858D34 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pfeifer.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pfeifer.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7D7CE3858D34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.68.5.143 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715235949; cv=none; b=KOHibT9ve9gI6rh/gesf30sW8+R7PDbTe5hzbaDAEChFbwZzwKeZLsOkRFrkwgNPDfudD0KL4OKPEMBj3jEMstaF7RlYm2qbIP3uVQSwmILTvdI5tTJ9SZ7iIcSY5lhpTrsgwad1ZnbbUw6Us+G3hWE81TG90Kk80+XC4ry9+Vo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715235949; c=relaxed/simple; bh=yV8Tl6GOvKmKmMGWCQl9BUmHuXUY4atnZ52O0g0xNCU=; h=Date:From:To:Subject:MIME-Version:DKIM-Signature:Message-Id; b=KKRDIzR6N8FGYxCC6eYrz5EpDQDJ6ysEHW2BSAM9SR/eqv6h8pErY/o9XV7DyNVxJEoh5emgI7LBbh2MGOMjjmRewqE0Szm/F+zQ7LtvQkojCY6ghs87pjIKaYMamdFo55XD3L24ZyuDuE4pcQc9GOPt3LJzt4E5LwN0B+JmZSQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id DF7C933EB2 for ; Thu, 9 May 2024 02:25:46 -0400 (EDT) Received: from daya.localdomain (188-23-56-169.adsl.highway.telekom.at [188.23.56.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 748A333EAE for ; Thu, 9 May 2024 02:25:46 -0400 (EDT) Date: Thu, 9 May 2024 08:25:45 +0200 (CEST) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org Subject: [pushed] wwwdocs: gcc-9: Various editorial changes MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfeifer.com; h=date:from:to:subject:mime-version:content-type; s=pair-202402271039; bh=C+EAl+YwKdXVG87CrX4IXbc9Yge0op0V5tsj/UIRNYA=; b=US00Bhv1URmnPgB6S9iS2DebQvNivHbzsRzaToe8FFKDjV8BQKc5JA4Dkdk190B4hj5xf9+ejs5v4skbOnC+TGsUCY52Pn3AAbDETi8RgUvhhJydgc0WHttD3lByrIUyYmi61iw+QZSN+zonKE2hdshOPISGs38mMJpnrAm05d832hyZ3Lehmg5HiZaCcvn0PtYOZIfFWeKMyzpfkTZ5xAtTPB09YWrPoXErDzp6OOmdkIfmlxc/w0MPkgv4/kb8/N5Tcoy8VDPewLohsNgs9BYz9sq2IbDsYAyWI1BtwgahkpS3H33RfshcV2jI8zjBameUzdCduo3MCpM1Ll3viw== X-Scanned-By: mailmunge 3.11 on 209.68.5.143 Message-Id: <20240509062546.DF7C933EB2@hamza.pair.com> X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Something I had on a disk for a bit; note how this includes a case of going from "link-time" to "link time" (used as a noun). Pushed. Gerald --- htdocs/gcc-9/changes.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/htdocs/gcc-9/changes.html b/htdocs/gcc-9/changes.html index 89c20985..47d2f2a2 100644 --- a/htdocs/gcc-9/changes.html +++ b/htdocs/gcc-9/changes.html @@ -221,7 +221,7 @@ v.c:10:7: missed: statement clobbers memory: __asm__ __volatile__("" :
  • Inter-procedural propagation of stack alignment can now be controlled by -fipa-stack-alignment. -
  • Propagation of addressability, readonly and writeonly flags on +
  • Propagation of addressability, readonly, and writeonly flags on static variables can now be controlled by -fipa-reference-addressable. @@ -277,8 +277,8 @@ foo (int how)
  • Inter-procedural optimization improvements:
      -
    • Inliner defaults was tuned to better suits modern C++ codebases - especially when built with link time optimizations. +
    • Inliner defaults were tuned to better suit modern C++ codebases, + especially when built with link time-optimizations. New parameters max-inline-insns-small, max-inline-insns-size, uninlined-function-insns, @@ -295,27 +295,27 @@ foo (int how) -floop-interchange, -floop-unroll-and-jam, -ftree-loop-distribution.
    • -
    • Streaming of counter histograms was removed. This reduces - the size of profile files. Histogram is computed on the fly - with link-time optimization. - Parameter hot-bb-count-ws-permille was reduced +
    • Streaming of counter histograms was removed, which reduces + the size of profile files. Histograms are computed on the fly + with link-time optimization.
    • +
    • The parameter hot-bb-count-ws-permille was reduced from 999 to 990 to account for more precise histograms.
  • Link-time optimization improvements:
      -
    • Types are now simplified prior streaming resulting in significant - reductions of the LTO object files, link-time memory use, and - improvements of link-time parallelism.
    • -
    • Default number of partitions (--param lto-partitions) was +
    • Types are now simplified prior to streaming resulting in significant + reductions of LTO object file sizes and link-time memory use as well + as improvements of link-time parallelism.
    • +
    • The default number of partitions (--param lto-partitions) was increased from 32 to 128 enabling effective use of CPUs with more than 32 hyperthreads. --param lto-max-streaming-parallelism - can now be used to control number of streaming processes.
    • + can now be used to control the number of streaming processes.
    • Warnings on C++ One Decl Rule violations (-Wodr) are now more informative and produce fewer redundant results.
    Overall compile time of Firefox 66 and LibreOffice 6.2.3 on an 8-core machine was reduced by about 5% compared to GCC 8.3, and the size of - LTO object files by 7%. LTO link-time improves by 11% on an 8-core + LTO object files by 7%. LTO link time improves by 11% on an 8-core machine and scales significantly better for more parallel build environments. The serial stage of the link-time optimization is 28% faster consuming 20% less memory. @@ -1039,7 +1039,7 @@ $ g++ typo.cc which provide the __fentry__ symbol and do not clobber r0 when resolving lazily bound functions. - -mfentry is only supported when generating 64 bit + -mfentry is only supported when generating 64-bit code and does not work with nested C functions.
  • The -mnop-mcount option can be used to emit NOP