Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site petsd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!petsd!joe From: joe@petsd.UUCP (Joe Orost) Newsgroups: net.lang.c Subject: Wanted: varargs and printf example on pass-by-register compiler Message-ID: <482@petsd.UUCP> Date: Mon, 25-Mar-85 12:31:34 EST Article-I.D.: petsd.482 Posted: Mon Mar 25 12:31:34 1985 Date-Received: Tue, 26-Mar-85 04:48:38 EST Reply-To: joe@petsd.UUCP (Joseph M. Orost) Organization: Perkin-Elmer DSG, Tinton Falls, N.J. Lines: 22 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