Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!microsoft!uw-beaver!tektronix!ogcvax!omsvax!hplabs!sri-unix!dbj.rice@rand-relay From: dbj.rice%rand-relay@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: From VMS to UNIX Message-ID: <12626@sri-arpa.UUCP> Date: Fri, 14-Oct-83 04:31:39 EDT Article-I.D.: sri-arpa.12626 Posted: Fri Oct 14 04:31:39 1983 Date-Received: Sat, 22-Oct-83 02:48:04 EDT Lines: 17 From: Dave Johnson "If the VMS C compiler is as good (code wise) as BLISS ..." Sadly, the VMS C compiler's code isn't as good as the Bliss compiler's. While it does an excellent job of optimizing register usage over the whole procedure and emiminating all kinds of "dead" code, etc., it fails fairly badly on some very simple local optimizations. For example, it generates three instructions to check if one of the "wonderful" VMS return codes (currently being discussed on this list (sigh)) is a success or failure code. The Unix C compiler (pcc) generates only one instruction for the same thing... Dave Johnson Dept. of Math Science Rice University dbj.rice@Rand-Relay