From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,518f50a806126e60 X-Google-Attributes: gid1164f8,public From: "H.W. Stockman" Subject: Re: [?] A few alpha FAQs Date: 1997/01/02 Message-ID: <32CC6D8F.7002@swcp.com>#1/1 X-Deja-AN: 207394458 references: <5a90tn$74e@usenet.pa.dec.com> <32C99C31.4A45@zko.dec.com> content-type: text/plain; charset=us-ascii organization: Southwest Cyberport mime-version: 1.0 reply-to: hwstock@swcp.com newsgroups: comp.sys.dec x-mailer: Mozilla 3.0Gold (Win95; U) Tom Morris wrote: > > Stephen Hoff Hoffman wrote: > > Bluntly, hand-tuning the code is likely a waste of time -- the Alpha > > compilers are quite good at this, at code scheduling, and at dealing [...] > It's generally true that people who think hand coded assembler is the > panacea for the world's performance problems are wrong, but in selected > cases it can be a big help. An interesting example I saw recently was the optimization of the memory writes. Since many modern processors have gone to write- allocate, some classic benchmarks (e.g. nsieve-- and in my case, real codes!) take a big hit when the C compiler does the optimization. The "hand-tuning" turns out to be just a few asm statements.