public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Loop unroll fixes
@ 2001-09-18 11:54 mike stump
  2001-09-18 12:34 ` Joseph S. Myers
  0 siblings, 1 reply; 41+ messages in thread
From: mike stump @ 2001-09-18 11:54 UTC (permalink / raw)
  To: jsm28, rth; +Cc: dewar, gcc

> Date: Tue, 18 Sep 2001 10:19:02 +0100 (BST)
> From: "Joseph S. Myers" <jsm28@cam.ac.uk>

> * Where <URL: http://gcc.gnu.org/ml/gcc/2001-05/msg01273.html > says
> (of creating synthetic testcases for bugs shown up by confidential
> code) "sometimes specific tests for fixed bugs are definitely cases
> of closing the doors after the cows have fled", this is misleading
> since such testcases may be necessary in future to debug problems
> with the fix; so creating such testcases would not be as described
> there "work that competes with everything else going on" but
> something at which a reasonable effort *must* be made before a fix
> is installed in FSF GCC.

I think that all changes to gcc should come with at least one testcase
that actually demonstrates why the change was a good idea.  If the
code merely changes performance, then the performance suite should
have a testcase that shows the performance advantage.  The last point
we currently never do, so I can be dissuaded for now that it is
unrealistic, but, I think for real bugs, it is possible to meet this
requirement.  The testsuite is invaluable to the quality of the
compiler in so many ways.  It should be a requirement, not optional.

I do realize that sometimes a testcase isn't possible, but in my
experience, those are rare.  A good example of such, would be a
testcase in the C++ framework to test throwing in/out and trough a
shared library.  The old-deja.exp framework doesn't have enough beef
to do this.  A testcase is impossible within it, without massive
modifications to old-deja.exp.

An non-example would be 112 thousand lines of customer proprietary
code which changes any time almost anything is played with.  Been
there, done that, not that hard, just time consuming to trim the
testcase and sanitize it.

If the folks that contributed the testsuite we have felt the same way
as dewar, it is clear to me that we would not have a gcc/g++
testsuite, or that it would be smaller.

^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: Loop unroll fixes
@ 2001-10-10  1:12 Wolfgang Bangerth
  2001-10-10  1:16 ` Mark Mitchell
  0 siblings, 1 reply; 41+ messages in thread
From: Wolfgang Bangerth @ 2001-10-10  1:12 UTC (permalink / raw)
  To: gcc; +Cc: mark

> I anticipate those being the last changes for GCC 3.0.2.

Not arguing for this just because it happened to bite me, but it might be
worth to also look at c++/4512, which is a regression w.r.t. 3.0.1. Franz
said he'll look into it.

Regards
  Wolfgang


-------------------------------------------------------------------------
Wolfgang Bangerth          email: wolfgang.bangerth@iwr.uni-heidelberg.de
                             www: http://gaia.iwr.uni-heidelberg.de/~wolf


^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: Loop unroll fixes
@ 2001-09-18 17:36 Richard Kenner
  0 siblings, 0 replies; 41+ messages in thread
From: Richard Kenner @ 2001-09-18 17:36 UTC (permalink / raw)
  To: bkoz; +Cc: gcc

    I'd expect that common configurey for all targets and front ends are
    affected by this, making this as much of a major feature as say, the
    C++ or Java FE's.

I don't follow your first point, but would certainly also not consider the
Java or C++ "major features" using the relevant definition, which isn't
how much it adds to the compiler, but relates instead to the chances of
it breaking something else.

^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: Loop unroll fixes
@ 2001-09-18 10:47 Benjamin Kosnik
  0 siblings, 0 replies; 41+ messages in thread
From: Benjamin Kosnik @ 2001-09-18 10:47 UTC (permalink / raw)
  To: gcc, kenner

> I don't see that as a "major feature", but rather the same as a new
> backend, which can be dropped in right up to the last minute, since no
> common files are affected.

Huh?

I'd expect that common configurey for all targets and front ends are
affected by this, making this as much of a major feature as say, the
C++ or Java FE's.

-benjamin

^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: Loop unroll fixes
@ 2001-09-18  4:16 Richard Kenner
  0 siblings, 0 replies; 41+ messages in thread
From: Richard Kenner @ 2001-09-18  4:16 UTC (permalink / raw)
  To: jsm28; +Cc: gcc

    * We should get Ada into the tree as soon as possible (in particular,
    before the cut-off on October 15 for major new features for 3.1), 

I don't see that as a "major feature", but rather the same as a new backend,
which can be dropped in right up to the last minute, since no common files
are affected.  That being said, it's obviously best to get it done as soon as
possible, hopefully before that date, but right now ACT is off the net due to
communication problems caused by the WTC attack.

    since sometimes these sorts of problems have occurred with patches
    written to fix bugs showing up with Ada testcases.  

I don't understand that comment.  The vast majority of the Ada testcases are
prioprietary, though bootstrapping the compiler itself and some of the test
cases are still useful.

    What caused the delay from the date of June 1 given in
    <URL: http://gcc.gnu.org/ml/gcc/2001-05/msg01148.html >?

It being bumped by other work plus a vacation of the person who was going to
do it, plus a company meeting, etc.

^ permalink raw reply	[flat|nested] 41+ messages in thread
[parent not found: <200109142021.QAA26236@makai.watson.ibm.com>]
[parent not found: <Pine.LNX.4.33.0109141957550.29416-100000@host140.cambridge.redhat.com>]
* Loop unroll fixes
@ 2001-09-13 16:35 Zoltan Hidvegi
  2001-09-13 18:58 ` David Edelsohn
  2001-10-04  6:46 ` Franz Sirl
  0 siblings, 2 replies; 41+ messages in thread
From: Zoltan Hidvegi @ 2001-09-13 16:35 UTC (permalink / raw)
  To: gcc

Sorry to bug you all with that again, but I wonder if the fix for PR
3384 could be applied to the 3.0 branch and the mainline (on the
mainline the doloop.c patch conflicts with Bernd Smith's change to fix
a subset of the bugs fixed by my patches that also generates a slighly
less efficient code).  See PR 3384, and threads
http://gcc.gnu.org/ml/gcc-patches/2001-07/msg01080.html
http://gcc.gnu.org/ml/gcc-bugs/2001-07/msg00750.html

I think this is a bad regression from 2.95.2.  -funroll-loops is a
powerful and widely used optimization.  GNATS already have a high
priority assigned to this bug, please, someone look at it and either
check it in or do some alrernative fix.  Bootstrapped and passed the
regressions on powerpc-ibm-aix4.3.3 and on i686-pc-linux-gnu, at least
it did some time back just before 3.0.1 was released, but there has
been no change in the files involved since than.

Thanks very much,

Zoli

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2001-10-10 11:08 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-18 11:54 Loop unroll fixes mike stump
2001-09-18 12:34 ` Joseph S. Myers
2001-09-19 11:28   ` Joe Buck
2001-09-24  9:31     ` law
  -- strict thread matches above, loose matches on Subject: below --
2001-10-10  1:12 Wolfgang Bangerth
2001-10-10  1:16 ` Mark Mitchell
2001-10-10  5:14   ` Franz Sirl
2001-10-10 11:08     ` Mark Mitchell
2001-09-18 17:36 Richard Kenner
2001-09-18 10:47 Benjamin Kosnik
2001-09-18  4:16 Richard Kenner
     [not found] <200109142021.QAA26236@makai.watson.ibm.com>
2001-09-15  8:57 ` Bernd Schmidt
2001-09-17 13:16   ` Richard Henderson
2001-09-17 14:24     ` Joe Buck
2001-09-17 15:11       ` Richard Henderson
2001-09-17 17:22         ` Mark Mitchell
2001-09-18  2:19         ` Joseph S. Myers
     [not found] <Pine.LNX.4.33.0109141957550.29416-100000@host140.cambridge.redhat.com>
2001-09-14 14:36 ` David Edelsohn
2001-09-13 16:35 Zoltan Hidvegi
2001-09-13 18:58 ` David Edelsohn
2001-09-13 23:50   ` Jim Wilson
2001-09-14  6:55     ` Daniel Berlin
2001-09-14 12:15       ` Joseph S. Myers
2001-09-14 16:45       ` Jim Wilson
2001-09-14 20:11         ` David Edelsohn
2001-09-14 22:23           ` Jim Wilson
2001-09-15  2:42           ` Bernd Schmidt
2001-09-14 21:16         ` Daniel Berlin
2001-09-14  9:41     ` David Edelsohn
2001-09-14 10:46       ` Bernd Schmidt
2001-09-14 11:47         ` David Edelsohn
2001-09-14 17:54       ` Jim Wilson
2001-09-14 18:35         ` David Edelsohn
2001-09-14 19:56           ` Jim Wilson
2001-09-15  2:56         ` Joseph S. Myers
2001-10-04  6:46 ` Franz Sirl
2001-10-04  7:40   ` Mark Mitchell
2001-10-04 20:46   ` Jim Wilson
2001-10-04 20:51     ` Mark Mitchell
2001-10-04 23:10       ` Zoltan Hidvegi
2001-10-10  0:05         ` Mark Mitchell

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).