This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ultrasparc-III+ performance of GCC 3.1


Hello,

I was wondering if anybody could suggest compiler flags to improve the
performance of some numerical C++ code I have. My problem is that the
code seems to run more slowly on the ultrasparcs here than it does on a
linux PC although the ultrasparc machines have excellent C and Fortran
performance and are, on the whole, a lot faster. I should note that
Solaris does not provide 64-bit versions of libc.a and libm.a, which
prevented me from producing a staticly linked executable as I could on
the linux machine.

The flags I have used thus far are:

-m64 -O3 -mcpu=ultrasparc -mtune=ultrasparc

Would upgrading to GCC 3.1.1 or 3.2 help? The release notes do not seem
to say much about Sparcs.

Thanks very much.

-- 
Alaeddin Ahmet Aydiner - PhD candidate         _        _        _
Office Tel: 217 333 0434                      / \      / \      / \
377 CCEM Everitt Laboratory MC 702           /---\    /---\    /---\
Electrical & Computer Eng. Dept. UIUC 61801 /     \. /     \. /     \.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]