On 2009-03-22 15:45, Dennis Peterson wrote: > Török Edwin wrote: > > >> This is unlike on x86_64, where -m64 is faster than -m32 because it uses >> a completely different instruction set/ABI, >> and 64-bit instructions are unavailable with -m32. >> >> > > I'm using the Sun Studio 12 product, not GCC, so don't know if they are > optimizing with 64-bit code. It would be criminal if they were not, but > crazier > things have happened. For many byte siz data applications I've not seen much > advantage of 64 over 32 bitness. >
Sun's CC has -xtarget (or -native) to optimize for a given CPU, you can try that to see if it is faster. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
