Sriram Natarajan wrote:
> - any specific reason why x86 uses -xO3 while sparc uses -xO4 ?

i'm not getting better performance out of -xO4 on Intel. it's actually 
worse than -xO3 (for these libraries). i am getting better performance 
with -xO4 rather than -xO3 on sparc.

> - I thought, Studio 12 and Studio 12 Update 1 includes attribute support 
> within ?

both GNU MP and GNU MPFR use __attribute__ support to assume GCC and 
then enable some GCC builtins which aren't available in Studio:

typedef unsigned int UQItype    __attribute__ ((mode (QI)));
typedef          int SItype     __attribute__ ((mode (SI)));
typedef unsigned int USItype    __attribute__ ((mode (SI)));
typedef          int DItype     __attribute__ ((mode (DI)));
typedef unsigned int UDItype    __attribute__ ((mode (DI)));

This won't compile with either SS12 or SS12U1.

--Stefan

-- 
Stefan Teleman
Sun Microsystems, Inc.
stefan.teleman at Sun.COM

Reply via email to