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: hoffman@xdelta.enet.dec.com.nospam (Stephen Hoff Hoffman) Subject: Re: [?] A few alpha FAQs Date: 1997/01/03 Message-ID: <5ajq70$q2t@usenet.pa.dec.com>#1/1 X-Deja-AN: 207568097 distribution: world references: <5a90tn$74e@usenet.pa.dec.com> <32C99C31.4A45@zko.dec.com> <32CC6D8F.7002@swcp.com> organization: Digital Equipment Corp reply-to: hoffman@xdelta.zko.dec.com.nospam newsgroups: comp.sys.dec In article <32CC6D8F.7002@swcp.com>, "H.W. Stockman" writes: :> > 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 ..The "hand-tuning" turns out to be just a few asm statements. The quote from my posting was truncated, and can be misconstrued in this context. The next couple of sentences -- effectively, once the code has been compiled and optimized and profiled, *then* look and see of hand-optimization is of interest -- are rather important to the point I was making. :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. Further, as I explicity indicated in my original posting -- also cut from the quoted text -- if you have any specific code that is not optimized particularly gracefully, please provide an example of the code, and information on the operating system and compiler version. We (Digital) will look at improving the compiler optimization(s). -------------------------- pure personal opinion --------------------------- Stephen 'Hoff' Hoffman OpenVMS Engineering hoffman@xdelta.enet.dec.com OpenVMS Frequently Asked Questions (FAQ): http://www.openvms.digital.com