Re: NetBSD on SH-4A
"Valeriy E. Ushakov" <[email protected]> Tue, 16 Jun 2009 09:07:09 +0400
| Newsgroups | gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <[email protected]> |
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 -- [email protected] | Zu Grunde kommen http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen