From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 585333FBB1 for ; Wed, 26 Mar 2003 14:11:06 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2QJB6w13007 for axp-list@listman.redhat.com; Wed, 26 Mar 2003 14:11:06 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h2QJB6V13003 for ; Wed, 26 Mar 2003 14:11:06 -0500 Received: from ore.jhcloos.com (ore.jhcloos.com [64.240.156.239]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2QJB6Q20724 for ; Wed, 26 Mar 2003 14:11:06 -0500 Received: from lugabout.jhcloos.org (ppp545.tc-1.buf-ch.ny.localnet.com [207.251.210.228]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "lugabout.jhcloos.org", Issuer "ca.jhcloos.com" (verified OK)) by ore.jhcloos.com (Postfix) with ESMTP id 6185C1C5E7; Wed, 26 Mar 2003 13:11:00 -0600 (CST) Received: from lugabout.jhcloos.org (localhost [127.0.0.1]) by lugabout.jhcloos.org (Postfix on SuSE Linux 7.3 (i386)) with ESMTP id 09C2D387; Wed, 26 Mar 2003 19:10:54 +0000 (GMT) To: "Bryan J. Smith" Cc: axp-list@redhat.com Subject: Re: opteron -- hmmm, I think I'm ignorant of something here ... References: <1048664662.1156.150.camel@bitman.oviedo.smithconcepts.com> <1048702240.3e81ed2080adc@webmail.smithconcepts.com> From: "James H. Cloos Jr." In-Reply-To: <1048702240.3e81ed2080adc@webmail.smithconcepts.com> Date: 26 Mar 2003 14:10:54 -0500 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: >>>>> "Bryan" == Bryan J Smith 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