This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Patch to constrain maximal number of tries for incomplete dfa descriptions.


On Fri, Jun 13, 2003 at 05:04:51PM -0400, Vladimir N. Makarov wrote:
> I don't think so (I don't know how to name the constant).  I've chosen it
> arbitrary (actually it is minimal constant to have only one case in the test
> when max_look_ahead_tries constraints the search).  The parameter has no
> sense for descriptions when all insn are described.  All dfa descriptions
> but sparc ones describe all  insns.

Hmm, ok.

I wonder, then, if we should consider this a bug in the Sparc
description?  If so, is there a nice way for us to detect this
condition at compiler build-time?

>         PR bootstrap/10835
>         * haifa-sched.c (max_lookahead_tries,
>         cached_first_cycle_multipass_dfa_lookahead,
>         cached_issue_rate): New variables.
>         (max_issue): Check the number of tries.
>         (choose_ready): Calculate max_lookahead_tries.
>         (sched_init): Check cached_issue_rate.

In the mean-time, this is ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]