On Fri, 2011-12-16 at 09:36 +0100, Olof Kindgren wrote:

<snip> 

> Anyway, if this is the problem, hard-wiring r0 to zero would solve
> both problems that Matthew reported

I think the architecture manual has something to say about this.
Specifically that you cannot assume r0 is hard-wired to zero, nor can
you guarantee that writing to r0 will not change its value. This would
be an incompatible architectural change (in the sense that code to work
on the new architecture might not work on older architectures).


Jeremy

-- 
Tel:      +44 (1590) 610184
Cell:     +44 (7970) 676050
SkypeID: jeremybennett
Email:   [email protected]
Web:     www.embecosm.com

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

Reply via email to