Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CURLWP global register in NetBSD/mips
Matt Thomas wrote:
> On Dec 21, 2010, at 1:56 AM, Toru Nishimura wrote:
>
> > Guys,
> >
> > NetBSD/mips kernel uses a dedicated register to hold curlwp
> > global variable. Register S7 is used in -current whileT8 in
> > matt-nb5-mips64 branch (why differ?)
>
> Better code. T8 is rarely used but S7 is one of the saved
> registers and used much more often.
I'm curious - was the change to put curlwp ever actually benchmarked? I
couldn't find anything. I can find a reference to a kernel being 2487
bytes smaller in April 2007 but no benchmarks.
Cheers,
Simon.
Home |
Main Index |
Thread Index |
Old Index