From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,94b6222e337d2ab8 X-Google-Attributes: gid111c93,public From: Randall Parker Subject: Re: Alpha's floating point performance Date: 1998/11/17 Message-ID: <3651C5A1.C2B6C17@west.net>#1/1 X-Deja-AN: 412858091 Content-Transfer-Encoding: 7bit References: <3643A2A1.DECD63A@cs.sunysb.edu> <3647389D.888814C1@nist.gov> <36476F6F.1AC3122E@nist.gov> <729438$1bg$1@hiram.io.com> Content-Type: text/plain; charset=us-ascii X-Trace: news.onlynews.com 911328682 207.71.218.107 (Tue, 17 Nov 1998 10:51:22 PDT) Organization: remove _nospam to reply MIME-Version: 1.0 Reply-To: rgparker_nospam@west.net NNTP-Posting-Date: Tue, 17 Nov 1998 10:51:22 PDT Newsgroups: comp.os.linux.alpha IX Corp. wrote: > Shouldn't overlook the value of Goto's matrix & vector code, and > Joachim's port of the Cray math library. An awful lot of hardcore numerics > are just matrix algebra on some level, and a decent math library covers > an awful lot more. I'm happy as a clam myself. > Does anyone know where one could get some highly optimized Alpha assembly math routines _with source code_ so that one could study it to see what techniques get used to write optimized math assembly for AXP? I have a friend who wants to write optimized math assembly for Alpha but wants to have some way to come up the learning curve rapidly. He wants to demonstrate to his management that Alpha be made sufficiently faster than Intel to justify going with Alpha. So he wants to rewrite small portions of his app in AXP and show a dramatic speedup. Management is rather traditional and he's having to do all this on his own time. He tells me that Goto and Wesner do not make their source code available. Also example AXP assembly functions where the same functions are coded for NT, DEC Unix, and Linux are desired in order to learn how to do the stack processing and external symbol stuff for each OS. He argues to me that each assembler has its own pitfalls and that one has to learn a fair amount about what style to adopt in a particular architecture in order to get highly optimized code. Having done a lot assembly programming in some pretty strange DSP architectures myself I see his point. Alpha probably has even stranger rules having to do with concurrent execution and register contention. BTW, does anyone know if Alpha has a barrel shifter when you shift integers in registers? Is it equally fast in both directions? Any help would be appreciated. Answer here or to rgparker@west.net