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

From: Maciej W. Rozycki

Date: Tue Aug 11 2026 - 17:56:51 EST


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