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
Neil Booth <neil@daikokuya.co.uk> writes:
> 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
Glad to hear.
> restored their output with -fverbose-asm. It needs to be done
> differently long-term.
But we still could use some testcase for this,
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