From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,5c187b9e0c78e85b X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,5c187b9e0c78e85b X-Google-Attributes: gid111c93,public From: W Bauske Subject: Re: Linux / Tru64 Fortran performance Date: 2000/06/19 Message-ID: <394EA616.8D639EC4@paralleldata.com>#1/1 X-Deja-AN: 636565885 Content-Transfer-Encoding: 7bit References: <8e29bb$7th$1@nnrp1.deja.com> <8ijq6c$o0q$1@grendel.conectiv.net> <8ik3ek$1bj2$1@nserve1.acs.ucalgary.ca> <394E8463.DF71ACA3@paralleldata.com> <394E90F8.9DBC14C4@moene.indiv.nluug.nl> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news1.rdc2.tx.home.com 961455578 24.15.240.182 (Mon, 19 Jun 2000 15:59:38 PDT) Organization: PDS Inc. MIME-Version: 1.0 NNTP-Posting-Date: Mon, 19 Jun 2000 15:59:38 PDT Newsgroups: comp.lang.fortran,comp.os.linux.alpha Toon Moene wrote: > > W Bauske wrote: > > > Serguei Patchkovskii wrote: > > > > In this respect, it is quite interesting to look at the optimization > > > flags used in vendor's SPEC submissions: In the Compaq DS20 peak SpecFp > > > submission, two (out of 14) tests were compiled with -taso flag, > > > effectively making pointers 32-bit in size. For the SpecInt submission, > > > -taso was used three times (out of 12). I do not think Compaq would > > > have used it unless it helped performance ;-) > > > Alternatively, the code is poorly written and it won't run > > without forcing pointers to 32 bit, like some fool programmer > > tries putting a pointer in an int. > > Is that true, even for SPEC2000 ? On the comp-fortran-90 mailing list > we noticed, when discussing a SPEC2000 Fortran entry, that apparently: > > INTEGER(8) > > slipped through. Hardly a Standard way of specifying a certain size > INTEGER ... > My point is taso is usually set to fix a code problem, at least in my experience. Also, it would depend on what a compiler considers the sizeof(int). If the compiler considers that equal to sizeof(void *), the code would not fail but at least on Alphas I use (Linux) an int is 4 bytes and a pointer is 8 bytes and that is also true of Tru64 last I heard(I don't use it much). I don't plan on shelling out $500 to get the source code to confirm the reason for that flag since I use my own codes for serious benchmarking. Anyone who already has it and an Alpha could run without the flag to see what happens. Actually, Linux Alpha doesn't even have the option so it would have to be on Tru64 I guess. Wes