From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3362dc5198a7e735 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-02-01 05:19:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Falk Hueffner Newsgroups: comp.os.linux.alpha Subject: Re: Some basic questions on Dec Alphas. Date: 01 Feb 2003 14:07:55 +0100 Organization: T-Online Sender: falk@juist Message-ID: <87ptqcup1w.fsf@student.uni-tuebingen.de> References: <3E380E26.E0573ED0@ntlworld.com> <3E3B6417.D3C9197F@ntlworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 1044104876 07 4390 funcEmESSlagku 030201 13:07:56 X-Complaints-To: abuse@t-online.com X-Sender: 520046482682-0001@t-dialin.net X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2 writes: > I am keen to test the software on other operating systems. For some > reason (related to the IEEE standard for floating point I believe), > Dec Alphas seem more fussy about code (especially floating point) so I > am keen to get one as a test bed for the software. Note that different generations of Alphas behave different here performance-wise. The 21064 and 21164 cannot do math with "funny" numbers like Inf and NaN. They can generate them, though. So if you try, say, Inf+Inf, you'll get a floating point exception, unless you compile with special compiler flags (which will slow down normal operations). Then the kernel is able to fix it up when it occurs, but the code will crawl like hell. The 21264 FPU can do this all itself, so the performance impact isn't that large. Another "problem" is uninitialized variables; because of the aforementioned property, Alphas might throw an exception if an uninitialized value contains a trap representation. Be sure to make your compiler warn about uninitialized values. -- Falk