[GEM-dev] GemPixConvertAltivec...

IOhannes m zmoelnig zmoelnig at iem.at
Tue Oct 31 08:30:15 CET 2006


Mathieu Bouchard wrote:
> On Mon, 30 Oct 2006, james tittle wrote:
> 
>> ...-Os is preferred for optimized builds over -O2 or -O3,
> 
> Why? the GCC manual says that -Os is for "optimising for size", which
> isn't exactly optimising for speed. If code size has such a positive
> impact on speed, does that mean that the PowerPC caches are small and/or
> the bus of the main RAM is slow ?
> 
> Btw, -Os disables most alignment optimisations. I thought that most
> processors are quite sensitive to alignment; is that belief outdated?
> 

no, i don't think so.
that is the reason, why the other flags (-falign-loops=32
-falign-functions=32 -falign-jumps=32) turn alignment on again.

mfg.adr
IOhannes




More information about the GEM-dev mailing list