public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* -mfpmath=sse question
@ 2004-01-20 17:35 Neal D. Becker
  2004-01-20 18:04 ` Kelley Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Neal D. Becker @ 2004-01-20 17:35 UTC (permalink / raw)
  To: gcc

On Athlon-xp, what is the best combination of switches?

I'm using -mfpmath=sse -msse -m3dnow.

Is this correct?  Or is -msse redundant?

-- 
Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: -mfpmath=sse question
  2004-01-20 17:35 -mfpmath=sse question Neal D. Becker
@ 2004-01-20 18:04 ` Kelley Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kelley Cook @ 2004-01-20 18:04 UTC (permalink / raw)
  Cc: GCC

> On Athlon-xp, what is the best combination of switches?

That is not an easy question to answer as lots of factors about your
code will come into play.  Using "-O2" is generally a good start.

>
> I'm using -mfpmath=sse -msse -m3dnow.
>
> Is this correct?  Or is -msse redundant?

This question however is since '-mfpmath=sse' does not imply '-msse' nor
'-m3dnow'.

That being said, assuming that you are looking for compling a binary
that will only run on an athlon-xp (or x86-64) machine than using "-O2
-march=athlon-xp -mfpmath=sse" would imply both '-msse' and '-m3dnow'
and will schedule for that particular processor.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-20 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20 17:35 -mfpmath=sse question Neal D. Becker
2004-01-20 18:04 ` Kelley Cook

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).