Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site mit-eddie.MIT.EDU Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!jbs From: jbs@mit-eddie.MIT.EDU (Jeff Siegal) Newsgroups: net.arch,net.unix Subject: Re: timing study of uVAX II instructions Message-ID: <1730@mit-eddie.MIT.EDU> Date: Fri, 25-Apr-86 15:35:04 EDT Article-I.D.: mit-eddi.1730 Posted: Fri Apr 25 15:35:04 1986 Date-Received: Sun, 27-Apr-86 05:08:32 EDT References: <90@wheaton> Reply-To: jbs@mit-eddie.UUCP (Jeff Siegal) Organization: MIT, EE/CS Computer Facilities, Cambridge, MA Lines: 29 Xref: watmath net.arch:3168 net.unix:7709 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