On 9/4/21 6:16 AM, Bruno Haible wrote:
Do you know a document which explains the ABI of this
architecture (I mean: register usage, max number of arguments passed in
registers, stack direction, stack alignment, etc.)?
Here is some documentation, which includes ABI documentation:
https://github.com/loongson/LoongArch-Documentation
I did see a disclaimer
<https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_disclaimer>
saying, "This document provides only periodic information, and the
contents contained may be updated at any time without notice, depending
on the actual situation of the product." and a translator's note saying
"Due to the limited knowledge of the translators, there are some
inevitable errors and omissions existing in this document, please feel
free to correct."