On Sun, 2012-04-22 at 10:05 +0100, R. Diez wrote:
> 
> 
> > i) if r0 is a regular, call-saved register normally used as
> > fixed-function register with value 0, that's fine; but in this case I
> > need to save and restore it for all context switches.  Also, GCC has to
> > initialize it at the start of every new process.
> 
> Is that not the case today? 

Almost... today it _might not_ be writable.  In my case i) above, it's
implied that it's _always_ fully writable; I guess that's not strictly
necessary, but it's distasteful!

/Jonas


_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to