timing study of uVAX II instructions
Jeff Siegal
jbs at mit-eddie.MIT.EDU
Sat Apr 26 05:35:04 AEST 1986
IN ARTICLE <90 at WHEATON> STUART at 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
More information about the Comp.unix
mailing list