Re: [PATCH V3 01/22] Documentation: LoongArch: Add basic documentations

From: Huacai Chen
Date: Fri Sep 24 2021 - 00:08:31 EST


Hi, Pavel,

On Fri, Sep 24, 2021 at 4:37 AM Pavel Machek <pavel@xxxxxx> wrote:
>
> Hi!
>
> > Add some basic documentations for LoongArch. LoongArch is a new RISC
>
> ... documentation ...
OK, thanks.

>
> > +wide in LA64. $r0 is always zero, and other registers has no special feature,
>
> ...have no special features...
OK, thanks.

>
> > +but we actually have an ABI register conversion as below.
>
> convention?
Yes, should be convention here.

>
> > +``$r21`` ``$x`` Reserved Unused
> > +``$r22`` ``$fp`` Frame pointer Yes
> > +``$r23``-``$r31`` ``$s0``-``$s8`` Static registers Yes
> > +================= =============== =================== ============
>
> Not sure I know the term 'static registers' before.
"Static register" comes from the MIPS code "SAVE_STATIC", maybe it is
called "Saved register" in other places, but I think "static register"
is also OK.

Huacai
> Pavel