From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,baadd4fe2bf1dd84 X-Google-Attributes: gid111c93,public From: mbkennel@yahoo.com (Matt Kennel) Subject: Re: Redhat/Alpha computational performance???? Date: 1998/03/03 Message-ID: #1/1 X-Deja-AN: 330300578 References: <6cved5$4rh$1@mrnews.mro.dec.com> <6d4qhe$7p$1@news.utrecht.NL.net> Reply-To: mbkennel yahoo.com Organization: University of California at San Diego Newsgroups: comp.os.linux.alpha On 26 Feb 1998 22:32:14 GMT, Toon Moene wrote: :David.Mosberger@acm-NOSPAM.org wrote: : :> mbkennel@yahoo.com (Matt Kennel) writes: : :> > Using egcs 1.0.1 :> > CFLAGS=-O3 -mieee :> ^^^^ : :> This is a real performance killer with gcc. Unless egcs improved :> things in this area, the same would be true for egcs. : :Yes, but aside from that - why use C (or C++) for numerical intensive work ? Because C is generated by compilers for good numerical languages, i.e. Fortran 90 (NAG) and Sather and, for some, Eiffel. So what exactly does -mieee, or its lack, do? And I tried removing -mieee, and, independely also adding -ffast-math. The difference was generally small on my programs. :Of course I advised Richard Henderson to solve the 64/32 bit problem in :strength reduction - that we discussed in the summer of last year - only for :the g77 side of egcs; I would never have believed that people would do :serious FP work in . They do. They aren't my favorite languages for computation but they are common. Often the C/C++ numerical programs use important "computer sciency" libraries like GL and X toolkits which are more idiomatic to call from C. And of course, C the overwhelming choice for game programming which also needs FP. -- * Matthew B. Kennel/Institute for Nonlinear Science, UCSD - * "People who send spam to Emperor Cartagia... vanish! _They say_ that * there's a room where he has their heads, lined up in a row on a desk... * _They say_ that late at night, he goes there, and talks to them... _they *- say_ he asks them, 'Now tell me again, how _do_ you make money fast?'"