From patchwork Wed Jan 25 10:10:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyrill Tkachov X-Patchwork-Id: 719620 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3v7gmN4SvYz9ryZ for ; Wed, 25 Jan 2017 21:10:26 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="MkP9Nb5e"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; q=dns; s=default; b=GBZdbNSKCBM30jg0W ftxTacasHrYGD44ZTCrTotDob/0/907HxOelywG7DaxtICxZswFusXFN6mrNiZit II+X6Jpqay8Zo6qphTcVHb8/QDXCcCGL5rBDn/6GaRP28lO91XJwfQlmnvktdK6Z MBqr0NUh8cZg3wJlzgjQqCJOcA= 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 :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; s=default; bh=w2T8+9UUc82wRt/4Iq5gYjD NCF8=; b=MkP9Nb5eoX4+60nlxC1wwgWnbUCW+eygHAMSkjwES5ZLIhvVwVEZfPL RbcwbkWzv4YzmBSchfjvuSGzm2DFpeqFejzjWbVMGHstrRyXcEG2Y2DteiGyIj3v l+PCRLhwvDUHv0cXvYH3lpXgN/bcvws/nxUxn+wAZQ7xdNQzzKsc= Received: (qmail 55570 invoked by alias); 25 Jan 2017 10:10:17 -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 55545 invoked by uid 89); 25 Jan 2017 10:10:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:2200, H*i:sk:8f8de2c, H*MI:sk:8f8de2c, H*f:sk:8f8de2c X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 25 Jan 2017 10:10:15 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4D944707; Wed, 25 Jan 2017 02:10:13 -0800 (PST) Received: from [10.2.207.77] (e100706-lin.cambridge.arm.com [10.2.207.77]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AF1BB3F242; Wed, 25 Jan 2017 02:10:12 -0800 (PST) Message-ID: <58887983.9010803@foss.arm.com> Date: Wed, 25 Jan 2017 10:10:11 +0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "Richard Earnshaw (lists)" , Gerald Pfeifer CC: GCC Patches Subject: Re: [PATCH][wwwdocs] Mention new store merging pass for GCC 7 References: <5885F65B.2070001@foss.arm.com> <8f8de2cf-4519-64bc-fc96-a10e8ae7a70d@arm.com> In-Reply-To: <8f8de2cf-4519-64bc-fc96-a10e8ae7a70d@arm.com> On 24/01/17 13:44, Richard Earnshaw (lists) wrote: > On 23/01/17 16:45, Gerald Pfeifer wrote: >> Hi Kyrill, >> >> On Mon, 23 Jan 2017, Kyrill Tkachov wrote: >>> This patch adds a short entry for the store merging pass in GCC 7 to the >>> "General Optimizer Improvements" section. >> +
  • A new store merging pass has been added. It will attempt to merge >> + constant stores to adjacent memory locations into fewer wider stores. >> + It can be enabled by using the -fstore-merging option >> and is >> + enabled by default at the -O2 optimization level or >> + higher.
  • > I also think you should either use 'fewer, wider, stores' (with commas) > or, if you don't like the commas: 'a smaller number of wider stores'. > > R. >> Here I'd say "it attempts to merge" or, better yet, let's just say >> "it merges". >> >> Let's not be too shy. :-) (This still does not claim that it always >> succeeds or anything like that, mind.) >> >> Okay, with that note taken into consideration. Thanks, Gerald, Richard. I've done that, and also added that it's enabled at -Os as well. Committing this to the repo. Kyrill >> Thanks, >> Gerald Index: htdocs/gcc-7/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.39 diff -U 3 -r1.39 changes.html --- htdocs/gcc-7/changes.html 17 Jan 2017 21:26:31 -0000 1.39 +++ htdocs/gcc-7/changes.html 24 Jan 2017 13:45:11 -0000 @@ -40,11 +40,14 @@

    General Optimizer Improvements

    -

    New Languages and Language specific improvements