public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Does -mfpmath=sse include SSE2?
@ 2002-12-30 10:04 Scott Robert Ladd
  2002-12-30 10:21 ` R. Kelley Cook
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Robert Ladd @ 2002-12-30 10:04 UTC (permalink / raw)
  To: gcc List

On a Pentium 4 system, does the switch -mfpmath=sse cause the compiler to
generate code using SSE2 instructions for calculations involving doubles?

Note: I've also specified -march=pentium4 -mcpu=pentium4.

..Scott

--
Scott Robert Ladd
Coyote Gulch Productions,  http://www.coyotegulch.com
No ads -- just very free (and somewhat unusual) code.

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

* Re: Does -mfpmath=sse include SSE2?
  2002-12-30 10:04 Does -mfpmath=sse include SSE2? Scott Robert Ladd
@ 2002-12-30 10:21 ` R. Kelley Cook
  2002-12-30 11:30   ` Scott Robert Ladd
  0 siblings, 1 reply; 3+ messages in thread
From: R. Kelley Cook @ 2002-12-30 10:21 UTC (permalink / raw)
  To: Scott Robert Ladd, gcc

 > On a Pentium 4 system, does the switch -mfpmath=sse cause the 
compiler > to generate code using SSE2 instructions for calculations 
involving
 > doubles?
 >
 > Note: I've also specified -march=pentium4 -mcpu=pentium4.

Yes.

BTW, feel free to send patches for clearer documentation.  The docs on 
some of the new options are a bit muddled.

Kelley Cook

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

* RE: Does -mfpmath=sse include SSE2?
  2002-12-30 10:21 ` R. Kelley Cook
@ 2002-12-30 11:30   ` Scott Robert Ladd
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Robert Ladd @ 2002-12-30 11:30 UTC (permalink / raw)
  To: R. Kelley Cook, gcc

> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org]On Behalf Of
> R. Kelley Cook
>
> Yes.

I'd hoped it did.

When time permits, I'm testing a variety of options in combinations, trying
to figure out what affects what (so to speak ;).

> BTW, feel free to send patches for clearer documentation.  The docs on
> some of the new options are a bit muddled.

When I have a clear idea about the various options and their interactions,
I'm going to write up an article for my web site -- and I'll also submit a
patch for the docs to reflect what I'm finding out. I've learnjed a lot of
bits and pieces over the last few months; I might as well pass it along.

..Scott

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

end of thread, other threads:[~2002-12-30 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-30 10:04 Does -mfpmath=sse include SSE2? Scott Robert Ladd
2002-12-30 10:21 ` R. Kelley Cook
2002-12-30 11:30   ` Scott Robert Ladd

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