This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Ultrasparc-III+ performance of GCC 3.1
- From: "Alaeddin A. Aydiner" <aydiner at empc22 dot ece dot uiuc dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 2 Oct 2002 15:48:52 -0500
- Subject: 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 / \. / \. / \.