Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "James H. Cloos Jr." <cloos@jhcloos.com>
To: "Bryan J. Smith" <b.j.smith@ieee.org>
Cc: axp-list@redhat.com
Subject: Re: opteron -- hmmm, I think I'm ignorant of something here ...
Date: 26 Mar 2003 14:10:54 -0500	[thread overview]
Message-ID: <m3d6kekkox.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <1048702240.3e81ed2080adc@webmail.smithconcepts.com>

>>>>> "Bryan" == Bryan J Smith <b.j.smith@ieee.org> writes:

cloos> At least for posix systems ... The abi for longmode
cloos> specifies -fpmath=sse.

Bryan> And that will give you double-precision math too?

Yes.  But only at 64-bit precision, not 80-bit rounded to 64.  This
does mean that rounding will be identical to other ieee 754 platforms,
such as (since we are on this list) alpha.  Ie, results of fp
algorithms will be the same on hammer as on the other, non x86-32,
platforms.

cloos> That should provide a significant boost compared to -fpmath=387.
cloos> Probably not a *hugh* boost, but a statisticly significant one.

Bryan> At how much of a significant digit cost?  From my
Bryan> understanding, SSE operations are rather "lossy" math.

The results should be identical to any other 754 cpu.

Bryan> E.g., in the new "long" mode, is "-fpmath=sse" more than just
Bryan> SSE instructions, and a whole new way of using/scheduling in
Bryan> the FPU?

The extra boost would be due to the register based design, rather than
the stack based design used by the 387.  Combined with 16 xmm
registers and the possibility to vectorize the algorithms -- I don't
know whether gcc will automatically do that yet, but compilers
certainly are free to -- compilers should be able to produce faster
code that can be done on the 387.

I should note this is all based on what I've read; both on lists and
in the x86-64 architecture manuals (cf www.x86-64.org for a pointer to
the pdf version and the form to request a free hardcopy edition.)

-JimC




  reply	other threads:[~2003-03-26 19:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-26  7:44 opteron -- I'm comparing _AMD_ to _AMD_! Bryan J. Smith
2003-03-26  9:25 ` Kelledin
2003-03-26 14:58 ` Maurice Hilarius
2003-03-26 15:43   ` opteron -- 2nd gen Opteron is only 4 _months_ away, so I'd wait Bryan J. Smith
2003-03-26 18:01 ` opteron -- I'm comparing _AMD_ to _AMD_! James H. Cloos Jr.
2003-03-26 18:10   ` opteron -- hmmm, I think I'm ignorant of something here Bryan J. Smith
2003-03-26 19:10     ` James H. Cloos Jr. [this message]
2003-03-26 19:18       ` Bryan J. Smith
2003-03-26 19:28         ` Falk Hueffner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox