* "Woodcrest" Xeon 3.0ghz optimal -march and options???
@ 2006-12-20 20:55 Conor Robinson
2006-12-21 21:14 ` Tim Prince
0 siblings, 1 reply; 2+ messages in thread
From: Conor Robinson @ 2006-12-20 20:55 UTC (permalink / raw)
To: gcc-help
Hi,
I'm running a mac pro with darwin 8.8.1 osx 10.4.8. 3.0ghz Woodcrest
dual core xeon
chip with 1.33ghz bus.
I have gcc 4.0.3 from hpc and 4.1.1 from apple.
What I would like to know is, what is my -(m)arch and besides -03, how
can I invoke auto loop vectorization -sse3 etc, or can I since I don't
see my arch. I have intels specific gnu friendly compilers, however
they are not that friendly and would like to stick with gcc.
Any comments or ideas would be greatly appreciated.
Thank you,
Conor
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "Woodcrest" Xeon 3.0ghz optimal -march and options???
2006-12-20 20:55 "Woodcrest" Xeon 3.0ghz optimal -march and options??? Conor Robinson
@ 2006-12-21 21:14 ` Tim Prince
0 siblings, 0 replies; 2+ messages in thread
From: Tim Prince @ 2006-12-21 21:14 UTC (permalink / raw)
To: Conor Robinson; +Cc: gcc-help
Conor Robinson wrote:
> Hi,
>
> I'm running a mac pro with darwin 8.8.1 osx 10.4.8. 3.0ghz Woodcrest
> dual core xeon
> chip with 1.33ghz bus.
>
> I have gcc 4.0.3 from hpc and 4.1.1 from apple.
>
> What I would like to know is, what is my -(m)arch and besides -03, how
> can I invoke auto loop vectorization -sse3 etc, or can I since I don't
> see my arch. I have intels specific gnu friendly compilers, however
> they are not that friendly and would like to stick with gcc.
>
If you are interested in vectorization, you should find the Intel
compilers more friendly than the gnu compilers you mention.
-free-vectorize is the option for gnu auto-vectorization. It works
well in gfortran 4.1.1 for simple cases.
For gcc, if you don't want to upgrade to a version with better default
optimization for Intel, -march=nocona (64-bit) or prescott (32-bit)
should work well most of the time. The 64-bit gnu compilers default to
-mfpmath=sse; specifying that option may help if you use 32-bit compilers.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-21 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-20 20:55 "Woodcrest" Xeon 3.0ghz optimal -march and options??? Conor Robinson
2006-12-21 21:14 ` Tim Prince
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).