public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sebastian Pop <sebastian.pop@cri.ensmp.fr>
To: Joe Buck <Joe.Buck@synopsys.com>
Cc: Dan Kegel <dank@kegel.com>, GCC Mailing List <gcc@gcc.gnu.org>
Subject: Re: [GCC 4.2 Project] Omega data dependence test
Date: Sat, 13 Aug 2005 23:07:00 -0000	[thread overview]
Message-ID: <20050813231208.GA7617@napoca.Belkin> (raw)
In-Reply-To: <20050809162344.GB11610@synopsys.com>

Joe Buck wrote:
> The problem with using time as a cutoff is that you then get results that
> can't be reproduced reliably.  Better to count something that is a feature
> of the algorithm, e.g. number of executions of some inner loop, number of
> nodes visited, or the like, 

On the other hand, it is not based on such features that you'll be
able to provide a watermark on time and space... Having guarantees on
compile time and space is probably what some users will want instead
of yet another bunch of --param max-foo-nodes.

I'd like to ask GCC users in general: how many are using these params?

Why not having instead a set of flags that limit the resources allowed
for each "unnecessary" (to be defined...) part of the compiler?  For
example, I'd like a guarantee that any tree level optimizer will stop
after at most 5 seconds and at most 300M of garbage: you'd say,
-fbudget-time=5 and -fbudget-space=300M instead of having to deal with
some obscure params.

> so that all users get the same results.

I see your point: we'll have bug reports that will be difficult to
reproduce.  I have not yet thought at a solution for this one, but
there should be some practical way to make bugs deterministic again,
otherwise we'll just step into a Schrodinger box, and that's a Bad
Thing.

seb

  reply	other threads:[~2005-08-13 23:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 15:51 Dan Kegel
2005-08-08 16:12 ` Daniel Berlin
2005-08-08 16:27 ` Dave Korn
2005-08-08 18:39   ` Sebastian Pop
2005-08-08 18:31 ` Sebastian Pop
2005-08-08 22:48   ` Joe Buck
2005-08-09 14:55     ` Sebastian Pop
2005-08-09 16:23       ` Joe Buck
2005-08-13 23:07         ` Sebastian Pop [this message]
2005-08-14  1:36           ` Daniel Berlin
2005-08-14 11:10             ` Sebastian Pop
2005-08-14 15:40               ` Daniel Berlin
2005-08-14  1:49           ` Ian Lance Taylor
2005-08-09 22:57       ` Daniel Berlin
  -- strict thread matches above, loose matches on Subject: below --
2005-08-09 22:14 Daniel Kegel
2005-08-09 18:01 Daniel Kegel
2005-08-09 18:03 ` Andrew Pinski
2005-08-08 12:29 Sebastian Pop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050813231208.GA7617@napoca.Belkin \
    --to=sebastian.pop@cri.ensmp.fr \
    --cc=Joe.Buck@synopsys.com \
    --cc=dank@kegel.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).