Port-sh3 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on SH-4A



On Tue, Jun 16, 2009 at 13:10:51 +0900, Masao Uebayashi wrote:

> > Look at how other arches do it and do the same for SH-4 FPU.  FPU
> > autodetection would be nice, but compile-time kernel option could do
> > for now.  Shouldn't be hard, but I never got around to it as real life
> > keep interfering.  If you could work on it and contribute the code
> > back, that would be very helpful (we don't have much NetBSD/sh3
> > developers).
> 
> OpenBSD already has the code.

Yes.  It's not lazy.  But if gcc uses FPU aggressively for integer
code it might make sense to be eager.


> One problem I think of is binary compatibility.  NetBSD/sh3 is
> basically soft-float.  Probably we can set a flag somewhere in ELF
> header and let incompatible executables die gracefully?

There already is e_flags in Elf_Ehdr.


SY, Uwe
-- 
uwe%stderr.spb.ru@localhost                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen


Home | Main Index | Thread Index | Old Index