From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d736bc07a2574435 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-12-16 08:08:34 PST Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!olivea!decwrl!pa.dec.com!jac.zko.dec.com!quark.enet.dec.com!lionel From: lionel@quark.enet.dec.com (Steve Lionel) Newsgroups: comp.sys.dec Subject: Re: re:ALPHA/OSF1 info wanted Date: 16 Dec 1993 15:29:29 GMT Organization: Digital Equipment Corporation, Nashua NH Distribution: world Message-ID: <2epusp$79b@jac.zko.dec.com> References: <2ekisa$su0@fermat.mayo.edu> <2epphm$9ve@fermat.mayo.edu> Reply-To: lionel@quark.enet.dec.com (Steve Lionel) NNTP-Posting-Host: QUARK X-Newsreader: mxrn 6.18-8 In article <2epphm$9ve@fermat.mayo.edu>, stan@mayo.edu (Andrew Staniszewski) writes: |>>You're the second person saying these two things in combination. Can you |>>please tell me what you mean by saying this? What measure is there for the |>>quality of optimization except performance? |> |>This is a great question, the truth as I have found it is that the optimizer |>(uopt) does not work at ALL with the c++ compiler, and the rumor I have heard |>is that it works BETTER with the c compiler but is UNRELIABLE, and should not |>be used with anything you actually depend on. I had held off replying initially to this because I did not know just what was being referred to. Now that I do, I can help explain the state of things. On DEC OSF/1 (as of V1.3) there are actually two C compilers shipped with the system. The one you get with the plain cc command uses a code generator based on MIPS compiler technology. This compiler uses uopt for its optimization. The other compiler is accessed with cc -migrate; this uses the common DEC C front-end (same as on other Digital platforms) along with our GEM back-end/optimizer. We generally recommend that you use cc -migrate if you're looking for the best performance. (I know the natural question is "Why are there two C compilers?" This is something I don't have an answer for.) The current C++ on DEC OSF/1 uses the common DEC C++ front-end combined with the MIPS code generator. I'm not too astonished that uopt doesn't work with it, though. We do have plans to replace the MIPS code generator in DEC C++ with GEM, but I don't know when that will happen. (Note that DEC C++ on our other Alpha AXP platforms is GEM-based.) All other Digital compilers for DEC OSF/1 (Fortran, Ada, Pascal, etc.) are GEM-based and should be quite reliable as well as offering superior performance. Digital's quoted benchmark numbers are generated using the GEM-based compilers (cc -migrate and DEC Fortran). I've spoken with a number of customers who are using DEC OSF/1 for major applications, and they all are impressed with the quality and performance of the system and its compilers. -- Steve Lionel lionel@quark.enet.dec.com SDT Languages Group Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062 "Free advice is worth every cent"