Path: utzoo!attcan!uunet!snorkelwacker!paperboy!osf!terryl From: terryl@osf.osf.org Newsgroups: comp.sys.m88k Subject: Re: Emulating other computers on 88K's and Benchmarks Message-ID: <14903@paperboy.OSF.ORG> Date: 15 Oct 90 13:38:38 GMT References: <1990Oct3.095041.9295@canterbury.ac.nz> <41965@mips.mips.COM> <1990Oct11.174838.7990@unx.sas.com> Sender: news@OSF.ORG Reply-To: terryl@osf.org Organization: Open Software Foundation Lines: 14 In article meissner@osf.org (Michael Meissner) writes: | The only time that I've wished the MIPS had a unified register set was | in dealing with varargs functions where you would like to be able to | store all unknown arguments on the stack, and walk a pointer. | However, the 88k doesn't win any points in this arena, because the | Greenhills inspired 88K OCS demands that you have two separate arrays, | va_list is a 3 word structure, and the va_arg macro continually has to | check whether or not the argument is in the first 8 words or not.... Yes, but that's just the way the Greenhills compiler works with varargs. There's no reason I can think of why the Greenhills can't spill the register arguments onto the stack; in fact, it appears that it allocates that space already.....