From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,84278579ba085c08 X-Google-Attributes: gid111c93,public From: conrad@vanir.srl.caltech.edu (Conrad Steenberg) Subject: Re: FP exceptions on redhat 5.1 Date: 1998/09/12 Message-ID: #1/1 X-Deja-AN: 390477991 References: <35F9BAB0.5DDE@wizard.com> Organization: California Institute of Technology, Pasadena Newsgroups: comp.os.linux.alpha On Sat, 12 Sep 1998 01:08:19 GMT, H.W. Stockman wrote: >Isn't there a compiler switch to disable IEEE handling >of denormals? Most alpha compilers make such a condition >the default, since there alpha doesn't handle denormals >in hardware. > >I'm quite curious about the answer, since I'm in the >market for a Linux alpha system, would use ecgs, and >have code that generates lots of unimportant denormals. Thanks to everyone that replied. I took the quick and dirty way out by installing a signal handler for SIGFPE that just returns and does nothing. I will look at the suggested compiled switches on Monday when I get back to the alpha box and see if that makes any difference in speed. Just for trivia, here are the times for the code I run (yes, it is not a bench- mark, I know...) 1. Pentium Pro 200 MHz, Linux 2.0.30 with gcc 2.7.2.1: ~12h20 2. Sun ULTRASparc II 266 MHz, Solaris 2.6, Sun cc ?.?: ~19h45 3. IBM SP PowerII 300 MHz, AIX 4.1.4, xlc ?.? : ~17h05 4. Microway Alpha 533 MHz, Linux 2.0.35, egcs 1.02 : ~ 6h24 5. Pentium II 266 MHz, Linux 2.0.30, gcc 2.7.2.1 : ~14h30 Some observations: 1. I'm very uncertain about the IBM SP chip frequency, the thing didn't exactly sit on my desk ! 2. The Pentium Pro really performed extraordinarily well, my guess is that its memory access patterns suited the 256k on-board cache really well. 3. Probably for the same reason, the Pentium II's slower on-board cache made it much slower than the Pro. I guess the Xeons will remedy that, at a huge price. 4. From the above it would take about a 600 MHz Pentium II to bring the run time down to the level of the Alpha. Which means I'm very happy with the Alpha! If any one is interested, The Alpha is the "performance value special" with IDE disk and CDROM for $2800 without monitor. See www.microway.com for all the specs. Regards Conrad -- *-----------------------------------------* | Conrad Steenberg | | Caltech, Mail Code 220-47 | | Pasadena, CA, 91125 | | e-mail: conrad@srl.caltech.edu | | Tel: (626) 395-2965 Fax: (626) 449-8676 | *-----------------------------------------*