Re: [Qemu-devel] [PATCH 4/7] target/openrisc: implement shadow registers

2017-04-18 Thread Stafford Horne
On Tue, Apr 18, 2017 at 01:11:53AM -0700, Richard Henderson wrote: > On 04/16/2017 04:23 PM, Stafford Horne wrote: > > Shadow registers are part of the openrisc spec along with sr[cid], as > > part of the fast context switching feature. When exceptions occur, > > instead of having to save register

Re: [Qemu-devel] [PATCH 4/7] target/openrisc: implement shadow registers

2017-04-18 Thread Richard Henderson
On 04/16/2017 04:23 PM, Stafford Horne wrote: Shadow registers are part of the openrisc spec along with sr[cid], as part of the fast context switching feature. When exceptions occur, instead of having to save registers to the stack if enabled the CID will increment and a new set of registers wil

[Qemu-devel] [PATCH 4/7] target/openrisc: implement shadow registers

2017-04-16 Thread Stafford Horne
Shadow registers are part of the openrisc spec along with sr[cid], as part of the fast context switching feature. When exceptions occur, instead of having to save registers to the stack if enabled the CID will increment and a new set of registers will be available. This patch only implements shad