Re: [RFC PATCH 4/8] powerpc/ppc_asm: use plain numbers for registers

2021-03-18 Thread Nicholas Piggin
Excerpts from Daniel Axtens's message of February 26, 2021 10:12 am: > Segher Boessenkool writes: > >> On Thu, Feb 25, 2021 at 02:10:02PM +1100, Daniel Axtens wrote: >>> This is dumb but makes the llvm integrated assembler happy. >>> https://github.com/ClangBuiltLinux/linux/issues/764 >> >>>

Re: [RFC PATCH 4/8] powerpc/ppc_asm: use plain numbers for registers

2021-02-25 Thread Daniel Axtens
Segher Boessenkool writes: > On Thu, Feb 25, 2021 at 02:10:02PM +1100, Daniel Axtens wrote: >> This is dumb but makes the llvm integrated assembler happy. >> https://github.com/ClangBuiltLinux/linux/issues/764 > >> -#define r0 %r0 > >> +#define r0 0 > > This is a big step back

Re: [RFC PATCH 4/8] powerpc/ppc_asm: use plain numbers for registers

2021-02-25 Thread Segher Boessenkool
On Thu, Feb 25, 2021 at 02:10:02PM +1100, Daniel Axtens wrote: > This is dumb but makes the llvm integrated assembler happy. > https://github.com/ClangBuiltLinux/linux/issues/764 > -#define r0 %r0 > +#define r0 0 This is a big step back (compare 9a13a524ba37). If you use a

[RFC PATCH 4/8] powerpc/ppc_asm: use plain numbers for registers

2021-02-24 Thread Daniel Axtens
This is dumb but makes the llvm integrated assembler happy. https://github.com/ClangBuiltLinux/linux/issues/764 Signed-off-by: Daniel Axtens --- arch/powerpc/include/asm/ppc_asm.h | 64 +++--- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git