On Mon, May 12, 2014 at 4:07 PM, Jonas Bonn <[email protected]> wrote:
> i) scratch space really just comes down to one or two per-cpu variables;
> we don't really need SPR's for this at all, but having some freely
> usable SPR's allows us to stash some per-cpu variables there instead of
> in memory
JFYI (but probably you know), MIPS has 2 of them (k0 and k1). These
are part of the GPRs, though, which has the disadvantage that you loose
2 (out of 32) GPRs, but the advantage that you can use them in most
instructions.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc