Re: [PATCH v7 53/64] target/nios2: Introduce shadow register sets

2022-04-22 Thread Peter Maydell
On Thu, 21 Apr 2022 at 17:42, Richard Henderson wrote: > > Do not actually enable them so far, in terms of being able > to change the current register set, but add all of the > plumbing to address them. Do not enable them for user-only. > > Add an env->regs pointer that handles the indirection

[PATCH v7 53/64] target/nios2: Introduce shadow register sets

2022-04-21 Thread Richard Henderson
Do not actually enable them so far, in terms of being able to change the current register set, but add all of the plumbing to address them. Do not enable them for user-only. Add an env->regs pointer that handles the indirection to the current register set. The naming of the pointer hides the