Current-Users archive

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

Re: Patch to cache TLS in %fp7 to avoid _lwp_getprivate syscalls



On Tue, Jan 17, 2012 at 02:03:32PM -0800, Jake Hamby wrote:
> I patched lib/libc/arch/m68k/sys/__m68k_read_tp.S to cache the value
> returned from _lwp_getprivate in %fp7, ...

Some m68k ports (e.g. NetBSD/amiga and NetBSD/mac68k) support CPUs
without a FPU (e.g. Motorola 68LC040). I don't think that your change
would work very well on such machines.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index