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: sched2 seems to be disabled on x86


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.

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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