Re: [PATCH 2/2] alpha: read $gp and $sp explicitly for clang

"Maciej W. Rozycki" <[email protected]>
Newsgroups org.kernel.vger.linux-alpha,dev.linux.lists.llvm,org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, 11 Aug 2026, Magnus Lindholm wrote:

> >  Also I think our coding style would rather see the asm written as:
> >
> >         __asm__ __volatile__("mov $29, %0" : "=r" (gptr));
> 
> Given Maciej's comment on the inline asm style, do you want to send a v2
> of this patch, or are you happy for me to fold the
> 
> __asm__ volatile(...)
> 
> to
> 
> __asm__ __volatile__(...)
> 
> style change in when I apply it to the Alpha tree?

 FAOD it's also the space in `"=r" (gptr)'.

  Maciej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.