* [PATCH][wwwdocs] Mention new store merging pass for GCC 7
@ 2017-01-23 12:52 Kyrill Tkachov
2017-01-23 16:15 ` Jeff Law
2017-01-23 16:59 ` Gerald Pfeifer
0 siblings, 2 replies; 5+ messages in thread
From: Kyrill Tkachov @ 2017-01-23 12:52 UTC (permalink / raw)
To: GCC Patches; +Cc: gerald
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
Hi all,
This patch adds a short entry for the store merging pass in GCC 7 to the "General Optimizer Improvements" section.
Eyeballed the result in Firefox.
Ok to commit?
Thanks,
Kyrill
[-- Attachment #2: wwwdocs-sm.patch --]
[-- Type: text/x-patch, Size: 983 bytes --]
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 20 Jan 2017 12:10:17 -0000
@@ -40,11 +40,14 @@
<!-- .................................................................. -->
<h2 id="general">General Optimizer Improvements</h2>
-<!--
+
<ul>
- <li></li>
+ <li>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 <code>-fstore-merging</code> option and is
+ enabled by default at the <code>-O2</code> optimization level or
+ higher.</li>
</ul>
--->
<!-- .................................................................. -->
<h2 id="languages">New Languages and Language specific improvements</h2>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][wwwdocs] Mention new store merging pass for GCC 7
2017-01-23 12:52 [PATCH][wwwdocs] Mention new store merging pass for GCC 7 Kyrill Tkachov
@ 2017-01-23 16:15 ` Jeff Law
2017-01-23 16:59 ` Gerald Pfeifer
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Law @ 2017-01-23 16:15 UTC (permalink / raw)
To: Kyrill Tkachov, GCC Patches; +Cc: gerald
On 01/23/2017 05:26 AM, Kyrill Tkachov wrote:
> Hi all,
>
> This patch adds a short entry for the store merging pass in GCC 7 to the
> "General Optimizer Improvements" section.
>
> Eyeballed the result in Firefox.
>
> Ok to commit?
OK.
jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][wwwdocs] Mention new store merging pass for GCC 7
2017-01-23 12:52 [PATCH][wwwdocs] Mention new store merging pass for GCC 7 Kyrill Tkachov
2017-01-23 16:15 ` Jeff Law
@ 2017-01-23 16:59 ` Gerald Pfeifer
2017-01-24 14:10 ` Richard Earnshaw (lists)
1 sibling, 1 reply; 5+ messages in thread
From: Gerald Pfeifer @ 2017-01-23 16:59 UTC (permalink / raw)
To: Kyrill Tkachov; +Cc: GCC Patches
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.
+ <li>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 <code>-fstore-merging</code> option and is
+ enabled by default at the <code>-O2</code> optimization level or
+ higher.</li>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][wwwdocs] Mention new store merging pass for GCC 7
2017-01-23 16:59 ` Gerald Pfeifer
@ 2017-01-24 14:10 ` Richard Earnshaw (lists)
2017-01-25 10:12 ` Kyrill Tkachov
0 siblings, 1 reply; 5+ messages in thread
From: Richard Earnshaw (lists) @ 2017-01-24 14:10 UTC (permalink / raw)
To: Gerald Pfeifer, Kyrill Tkachov; +Cc: GCC Patches
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.
>
> + <li>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 <code>-fstore-merging</code> option
> and is
> + enabled by default at the <code>-O2</code> optimization level or
> + higher.</li>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][wwwdocs] Mention new store merging pass for GCC 7
2017-01-24 14:10 ` Richard Earnshaw (lists)
@ 2017-01-25 10:12 ` Kyrill Tkachov
0 siblings, 0 replies; 5+ messages in thread
From: Kyrill Tkachov @ 2017-01-25 10:12 UTC (permalink / raw)
To: Richard Earnshaw (lists), Gerald Pfeifer; +Cc: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
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.
>> + <li>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 <code>-fstore-merging</code> option
>> and is
>> + enabled by default at the <code>-O2</code> optimization level or
>> + higher.</li>
> 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
[-- Attachment #2: wwwdocs-sm.patch --]
[-- Type: text/x-patch, Size: 991 bytes --]
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 @@
<!-- .................................................................. -->
<h2 id="general">General Optimizer Improvements</h2>
-<!--
+
<ul>
- <li></li>
+ <li>A new store merging pass has been added. It merges constant stores to
+ adjacent memory locations into fewer, wider, stores.
+ It can be enabled by using the <code>-fstore-merging</code> option and is
+ enabled by default at <code>-Os</code> and the <code>-O2</code> optimization
+ level or higher.</li>
</ul>
--->
<!-- .................................................................. -->
<h2 id="languages">New Languages and Language specific improvements</h2>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-01-25 10:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 12:52 [PATCH][wwwdocs] Mention new store merging pass for GCC 7 Kyrill Tkachov
2017-01-23 16:15 ` Jeff Law
2017-01-23 16:59 ` Gerald Pfeifer
2017-01-24 14:10 ` Richard Earnshaw (lists)
2017-01-25 10:12 ` Kyrill Tkachov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).