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

From
Huacai Chen <hidden>
Date
2021-09-24 04:08:31
Also in
linux-doc, lkml
Reply to
Pavel Machek, 2021-09-23
Hi, Pavel,

On Fri, Sep 24, 2021 at 4:37 AM Pavel Machek [off-list ref] wrote:
Hi!
quoted
Add some basic documentations for LoongArch. LoongArch is a new RISC
... documentation ...
OK, thanks.
quoted
+wide in LA64. $r0 is always zero, and other registers has no special feature,
...have no special features...
OK, thanks.
quoted
+but we actually have an ABI register conversion as below.
convention?
Yes, should be convention here.
quoted
+``$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
Thread (51 messages) 51 messages, 6 authors, last reply 2021-09-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help