* [patch, wwwdocs] Mention work on array temporaries
@ 2010-12-09 20:35 Thomas Koenig
2010-12-14 2:49 ` Gerald Pfeifer
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Koenig @ 2010-12-09 20:35 UTC (permalink / raw)
To: fortran; +Cc: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
Hello world,
here is a patch for wwwdocs mentioning the improvements in array
temporaries.
If anybody has suggestions on improvements of the wording, I would
appreciate that.
OK?
[-- Attachment #2: temporaries.diff --]
[-- Type: text/x-patch, Size: 858 bytes --]
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.73
diff -u -r1.73 changes.html
--- changes.html 27 Nov 2010 10:26:28 -0000 1.73
+++ changes.html 9 Dec 2010 19:14:43 -0000
@@ -254,6 +254,9 @@
support <code>REAL(16)</code> in hardware nor those which do not support
<code>libquadmath</code>.</li>
<li>Much improved compile time for large array constructors.</li>
+ <li>Use of temporary arrays in assignment expressions is avoided for
+ many cases. The compiler now reverses loops in order to avoid
+ generating a temporary array where possible.</li>
<li>Improved diagnostics, especially with
<code>-fwhole-file</code>.</li>
<li>The <code>-fwhole-file</code> flag is now enabled by default. This
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch, wwwdocs] Mention work on array temporaries
2010-12-09 20:35 [patch, wwwdocs] Mention work on array temporaries Thomas Koenig
@ 2010-12-14 2:49 ` Gerald Pfeifer
2010-12-18 13:34 ` Thomas Koenig
0 siblings, 1 reply; 4+ messages in thread
From: Gerald Pfeifer @ 2010-12-14 2:49 UTC (permalink / raw)
To: Thomas Koenig; +Cc: fortran, gcc-patches
On Thu, 9 Dec 2010, Thomas Koenig wrote:
> here is a patch for wwwdocs mentioning the improvements in array
> temporaries.
This looks good. The one question I'll pose is "What's the benefit
for the user?" Performance, presumably?
Gerald
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch, wwwdocs] Mention work on array temporaries
2010-12-14 2:49 ` Gerald Pfeifer
@ 2010-12-18 13:34 ` Thomas Koenig
2011-01-17 1:08 ` Gerald Pfeifer
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Koenig @ 2010-12-18 13:34 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: fortran, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
Hello Gerald,
> This looks good. The one question I'll pose is "What's the benefit
> for the user?" Performance, presumably?
here's what I committed, taking your remark into account. Thanks!
Thomas
2010-12-18 Thomas Koenig <tkoenig@gcc.gnu.org>
* changes.html: Mention work on reducing array temporaries.
[-- Attachment #2: temporaries-2.diff --]
[-- Type: text/x-patch, Size: 919 bytes --]
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.77
diff -u -r1.77 changes.html
--- changes.html 15 Dec 2010 23:15:06 -0000 1.77
+++ changes.html 18 Dec 2010 11:44:55 -0000
@@ -254,6 +254,10 @@
support <code>REAL(16)</code> in hardware nor those which do not support
<code>libquadmath</code>.</li>
<li>Much improved compile time for large array constructors.</li>
+ <li>In order to reduce execution time and memory usage, use of
+ temporary arrays in assignment expressions is avoided for
+ many cases. The compiler now reverses loops in order to avoid
+ generating a temporary array where possible.</li>
<li>Improved diagnostics, especially with
<code>-fwhole-file</code>.</li>
<li>The <code>-fwhole-file</code> flag is now enabled by default. This
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch, wwwdocs] Mention work on array temporaries
2010-12-18 13:34 ` Thomas Koenig
@ 2011-01-17 1:08 ` Gerald Pfeifer
0 siblings, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2011-01-17 1:08 UTC (permalink / raw)
To: Thomas Koenig; +Cc: fortran, gcc-patches
On Sat, 18 Dec 2010, Thomas Koenig wrote:
> here's what I committed, taking your remark into account. Thanks!
>
> Thomas
>
> 2010-12-18 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> * changes.html: Mention work on reducing array temporaries.
Cool. I just committed a small editorial change on top to avoid
consecutive use of "use"/"usage".
Gerald
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.85
diff -u -r1.85 changes.html
--- changes.html 9 Jan 2011 14:12:15 -0000 1.85
+++ changes.html 16 Jan 2011 23:44:48 -0000
@@ -273,7 +273,7 @@
support <code>REAL(16)</code> in hardware nor those which do not support
<code>libquadmath</code>.</li>
<li>Much improved compile time for large array constructors.</li>
- <li>In order to reduce execution time and memory usage, use of
+ <li>In order to reduce execution time and memory consumption, use of
temporary arrays in assignment expressions is avoided for
many cases. The compiler now reverses loops in order to avoid
generating a temporary array where possible.</li>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-16 23:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 20:35 [patch, wwwdocs] Mention work on array temporaries Thomas Koenig
2010-12-14 2:49 ` Gerald Pfeifer
2010-12-18 13:34 ` Thomas Koenig
2011-01-17 1:08 ` Gerald Pfeifer
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).