Re: [PATCH v2 09/14] powerpc: Add NULLIFY_GPRS macros for register clears

2022-08-08 Thread Christophe Leroy
Le 08/08/2022 à 09:42, Andrew Donnellan a écrit : > On Mon, 2022-07-25 at 16:29 +1000, Rohan McLure wrote: >> Macros for restoring and saving registers to and from the stack >> exist. >> Provide macros with the same interface for clearing a range of gprs >> by >> setting each register's value in

Re: [PATCH v2 09/14] powerpc: Add NULLIFY_GPRS macros for register clears

2022-08-08 Thread Andrew Donnellan
On Mon, 2022-07-25 at 16:29 +1000, Rohan McLure wrote: > Macros for restoring and saving registers to and from the stack > exist. > Provide macros with the same interface for clearing a range of gprs > by > setting each register's value in that range to zero. > > The resulting macros are called

[PATCH v2 09/14] powerpc: Add NULLIFY_GPRS macros for register clears

2022-07-25 Thread Rohan McLure
Macros for restoring and saving registers to and from the stack exist. Provide macros with the same interface for clearing a range of gprs by setting each register's value in that range to zero. The resulting macros are called NULLIFY_GPRS and NULLIFY_NVGPRS, keeping with the naming of the