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: No documentation of -fsched-pressure-algorithm


nick clifton <nickc@redhat.com> writes:
> Hi Richard,
>
>>>    I have just noticed that the new -fsched-pressure-algorithm= gcc
>>>    command line option is not documented in gcc/doc/invoke.texi.  Was
>>>    this an oversight ?
>>
>> No, it was deliberate.  It's not supposed to be a user-level option.
>
> Then why is there a user-visible command line option ?

So that developers can experiment.

> Also - why shouldn't it be a user-level option ?  In my experience gcc's 
> instruction scheduling tends to be very sensitive to the algorithm being 
> compiled.  For some applications it does a good job, but for others it 
> actually makes the performance worth.  Being able to tune the behaviour 
> of the scheduler (via the various -fsched-... options) has been very 
> helpful in getting good benchmark results.

But the idea is that if you get good benchmark results with it
(as for A8, A9 and s390), you should enable it by default.
If it makes some things significantly better and some things
significantly worse, we should look at why.

Richard


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