From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,80f21c0575c616e8 X-Google-Attributes: gid111c93,public From: memore0@yahoo.com Subject: Re: fast array calculation in C Date: 1999/10/12 Message-ID: <380360a0.1802565782@news.onramp.net>#1/1 X-Deja-AN: 535868980 References: <3801A6BC.21E8653E@ife.ee.ethz.ch> <7tt2o3$15m0@news1.newsguy.com> <3802454b.1730032204@news.onramp.net> <3802E47C.3CF0CDE9@ife.ee.ethz.ch> X-Complaints-To: abuse@verio.net X-Trace: dfw-read.news.verio.net 939746573 209.39.54.2 (Tue, 12 Oct 1999 11:42:53 CDT) Organization: Verio NNTP-Posting-Date: Tue, 12 Oct 1999 11:42:53 CDT Newsgroups: comp.os.linux.alpha On Tue, 12 Oct 1999 09:34:20 +0200, Alex Rhomberg wrote: >memore0@yahoo.com wrote: >> >> On 11 Oct 1999 16:20:19 GMT, lindahl@pbm.com (Greg Lindahl) wrote: >> >That's actually really good on an EV56. Most people did not get above >> >250 MFLOPS for C or Fortran. >> >> Just to stick my nose in here... >> Remember this is hand optimized assembler. Getting a 5-10x >> performance boost over c by handiwork is not that rare. > >No, this is optimized C. I just looked at the assembler to find the >parts where the compiler produces bad code and write those differently, >but still in C. In response to you and Greg, "oops". My first thought after that was to wonder why? I guess that my practice has pretty much been that if I look at the assembly, I change it there and save it as such. Obviously this has maintenance implications, but for embedded stuff, it's usually "write once, run forever". >You can get quite nice results with the compaq C compiler