Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!pyramid!pesnta!hplabs!hpda!hpisoa2!hpitg!mit-eddie!jbs@mit-eddie From: jbs%mit-eddie@mit-eddie.UUCP Newsgroups: net.arch Subject: Re: timing study of uVAX II instructions Message-ID: <1730@mit-eddie> Date: Sat, 26-Apr-86 00:35:00 EDT Article-I.D.: mit-eddi.1730 Posted: Sat Apr 26 00:35:00 1986 Date-Received: Sun, 11-May-86 15:47:21 EDT References: <90@wheaton> Lines: 27 IN ARTICLE <90@WHEATON> STUART@WHEATON.UUCP (STUART CEILOUS WILLIAMS) WRITES: >[...] >brb : 1.278 >[...] >jmp : 1.972 >[...] >bsbb : 3.277 >[...] >jsb : 3.857 >[...] >callg : 12.676 >calls : 13.318 >[...] > Also, the time for the calls instruction should give some idea of when >it is better to use a macro than a function call. >[...] Of course, this has been said before, but the time for the call instructions also gives some idea of how useful it is to have a compiler which: 1) Expands function calls inline when appropriate. 2) Uses a faster, but less general, way to get to a function when possible (usually only for "static" functions). Jeff Siegal - MIT EECS