This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sched2 seems to be disabled on x86
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Dan Nicolaescu <dann at ics dot uci dot edu>, gcc at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 Jun 2003 10:28:58 +0100
- Subject: Re: sched2 seems to be disabled on x86
- References: <200306282142.h5SLgV4X014515@gremlin.ics.uci.edu> <20030628221304.GB4447@daikokuya.co.uk> <20030628225525.GA4922@daikokuya.co.uk> <u8smpt1bg4.fsf@gromit.moeb>
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.