This is the mail archive of the gcc@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: Probable GCC Bug


Pankaj Dev wrote:

> To my understanding in order to disable the use of DFA Scheduling by the GCC
> i removed the "(1 << PROCESSOR_TSC701)" from the function
> // File : sparc.c
> static int
> sparc_use_dfa_pipeline_interface ()
>

> but left(didnt remove) the above expression i.e. "(1 << PROCESSOR_TSC701)"
> in the function (which i added earlier)
> // File : sparc.c
> static int
> sparc_use_sched_lookahead ()
>
> and then build GCC.. It is giving an error
>
> I just wanted to know if I am wrong in the steps taken to disable the use of
> DFA based instruction scheduling in gcc or is it a bug in gcc..

Currently, to disable the dfa pipeline hazard recognizer the hooks
use_dfa_pipeline_interface and first_cycle_multipass_dfa_lookahead should
return 0.  That is what I see.  Apparently that is not what people expect when
they read the documentation because the first cycle multipass scheduling works
only with the dfa.

I'll fix this.  The patch will be coming soon.  Thanks for the message.

Vlad



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