This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sched2 seems to be disabled on x86
Andreas Jaeger wrote:-
> Neil Booth <neil@daikokuya.co.uk> writes:
>
> > Neil Booth wrote:-
> >
> >> Whilst I'd love to take credit for a speed-up, I think the credit lies
> >> elsewhere. The output of -fverbose-asm is simply not reporting the
> >> facts.
> >>
> >> I'm not sure what to do about this as it used to be driven off the
> >> f_options table, which will eventually cease to exist.
> >
> > This patch restores the flags (they were only removed to avoid false
> > success during the transition phase where there were two handlers
> > for -f options.) which are now harmless.
>
> Shouldn't we add some test to the testsuite to check that the flags
> are really enabled? Compiling something with -fverbose-asm and then
> looking at the .s file should do the trick - but unfortunatly
> different targets enable different flags at e.g. -O2.
They were enabled (except for the two in #ifdef); this patch just
restored their output with -fverbose-asm. It needs to be done
differently long-term.
Neil.