[net.lang.c] Wanted: varargs and printf example on pass-by-register compiler

joe@petsd.UUCP (Joe Orost) (03/25/85)

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@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