Portable "asm" (Was: The D Programming Language)
Eddie Wyatt
edw at IUS1.CS.CMU.EDU
Fri Mar 11 04:08:20 AEST 1988
> Since the interface between C and in-line asm seems to be so
> problematic (not to mention non-portable), why not write
> those routines that should be written in assembly in assembly?
To which the obvious reply is speed - functions invocation can be
RELATIVELY expensive. The time taken to invoke a subroutine may
out way any gains that the asm statement made. Disclaimer - I don't use
asm - don't plan on it either.
--
Eddie Wyatt e-mail: edw at ius1.cs.cmu.edu
More information about the Comp.lang.c
mailing list