On Sat, 11 May 2024 at 12:54, Richard Henderson <richard.hender...@linaro.org> wrote: > > Smash the stack and thread pointers to deadbeef, as is common > for the other architectures. This allows us to drop these > special cases within reginfo_is_eq and reginfo_dump_mismatch. > > Do not copy the unused special registers that are packed into gregs[]. > Most of these are related to system instructions and thus are not > manipulable via the user-mode instructions targeted by RISU. LNK and > CTR are not initialized by risugen, and since in general we cannot > test branches with risugen these can be ignored. This leaves only > XER and CCR as the only special registers to be copied. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > ---
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM