Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Subject: Re: Some basic questions on Dec Alphas.
Date: 01 Feb 2003 14:07:55 +0100	[thread overview]
Message-ID: <87ptqcup1w.fsf@student.uni-tuebingen.de> (raw)
In-Reply-To: 3E3B6417.D3C9197F@ntlworld.com

"Dr. David Kirkby" <drkirkby@ntlworld.com> 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


      reply	other threads:[~2003-02-01 13:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 17:23 Some basic questions on Dec Alphas Dr. David Kirkby
2003-01-29 17:45 ` Måns Rullgård
2003-01-29 21:04   ` moonshine_religion
2003-01-29 21:14 ` Angelo Brigante, Jr.
2003-01-30 16:18 ` Wolfgang Rupp
2003-01-30 20:43   ` Måns Rullgård
2003-02-01  6:07 ` Dr. David Kirkby
2003-02-01 13:07   ` Falk Hueffner [this message]
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