Subject: port-m88k -- Re: Anyone home
To: None <port-m88k@netbsd.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-m88k
Date: 05/11/2000 11:14:19
Here goes the ramdom list of issue under consideration.
- assigning new NetBSD MID for m88k processor.
Regretfully, OpenBSD m88k MID crashes to NetBSD/sparc64. I'd ask to
assign new MIDs for mips64 in the same time.
- stdarg.h
I think the current implementation of GCC stdarg.h is over engineered.
(I've never seen XD88K or DG-UX native compiler implementation. Is it
a GreenHill?). The stack convention for "some args on registers" is
not much different from what MIPS processor's so-called o32. If
compiler can provide layout alignment value on the fly for arbitrary
data types;
#define va_arg(ap, T) \
((T *)(ap += (sizeof(T) == 8 && __alignof__(T) == 8) \
? ((long)(ap) & 4) + 8 \
: 4))[-1]
or something should be sufficient. (BE assumed here)
Tohru Nishimura