Wanted: varargs and printf example on pass-by-register compiler

Joe Orost joe at petsd.UUCP
Tue Mar 26 03:31:34 AEST 1985


It is common knowledge that passing arguments in registers is faster than
passing them in memory.  There are some problems I ran into in trying to
devise a scheme:

If a compiler passes arguments in registers, how is varargs.h and printf
implemented?

If you are using a compiler that passes arguments in registers, please let
me know how they do it.

Send email.  I will summarize to the net.

					regards,
					joe

--
Full-Name:  Joseph M. Orost
UUCP:       ..!{decvax,ucbvax,ihnp4}!vax135!petsd!joe
ARPA:	    vax135!petsd!joe at BERKELEY
US Mail:    MS 313; Perkin-Elmer; 106 Apple St; Tinton Falls, NJ 07724
Phone:      (201) 870-5844
Location:   40 19'49" N / 74 04'37" W



More information about the Comp.lang.c mailing list