Re: [RFC PATCH 05/19] powerpc/32: Use load and store multiple in GPR save/restore macros

2022-11-07 Thread Christophe Leroy
Le 07/11/2022 à 13:45, Nicholas Piggin a écrit : > On Thu Nov 3, 2022 at 6:26 PM AEST, Christophe Leroy wrote: >> It contradicts commit a85c728cb5e1 ("powerpc/32: Don't use lmw/stmw for >> saving/restoring non volatile regs") > > Hmm okay. Do you want to keep the #ifdef case in ppc_save_regs

Re: [RFC PATCH 05/19] powerpc/32: Use load and store multiple in GPR save/restore macros

2022-11-07 Thread Nicholas Piggin
On Thu Nov 3, 2022 at 6:26 PM AEST, Christophe Leroy wrote: > It contradicts commit a85c728cb5e1 ("powerpc/32: Don't use lmw/stmw for > saving/restoring non volatile regs") Hmm okay. Do you want to keep the #ifdef case in ppc_save_regs for ppc32 to save ~124 bytes of text? I don't mind either

Re: [RFC PATCH 05/19] powerpc/32: Use load and store multiple in GPR save/restore macros

2022-11-03 Thread Christophe Leroy
It contradicts commit a85c728cb5e1 ("powerpc/32: Don't use lmw/stmw for saving/restoring non volatile regs") Le 31/10/2022 à 06:54, Nicholas Piggin a écrit : > --- > arch/powerpc/include/asm/ppc_asm.h | 18 -- > 1 file changed, 16 insertions(+), 2 deletions(-) > > diff --git