Re: [PATCH V3 01/22] Documentation: LoongArch: Add basic documentations
From: Huacai Chen <hidden>
Date: 2021-09-24 04:08:31
Also in:
linux-arch, lkml
From: Huacai Chen <hidden>
Date: 2021-09-24 04:08:31
Also in:
linux-arch, lkml
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