[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building perl at -O3?



In message <[🔎] 20011129211140.V37621@plum.flirble.org>, Nicholas Clark writes:
>Is it wise to add arm to the -O3 list for perl 5.8? Or is it safer to stay
>at -O2? And does my strange un-speedup from -O2 to -O3 reflect a RiscPC's
>slow memory and lack of L2 cache more than anything else?

Yeah, I think you're probably seeing the effects of increased code size (because 
of inlining) leading to more pressure on the Icache.  It's not at all uncommon
for -O3 to result in worse code for this reason.  If I were you I would leave 
it at -O2, or maybe try -O2 -frename-registers.

p.



Reply to: