Re: [PATCH] stack-direction: Add support for loongarch CPU

2021-09-08 Thread 孙海勇
> -邮件原件- > 发件人: Bruno Haible > 发送时间: 2021年9月4日 21:17 > 收件人: bug-gnulib@gnu.org > 抄送: Sun Haiyong > 主题: Re: [PATCH] stack-direction: Add support for loongarch CPU > > Hi, > > Sun Haiyong wrote: > > * m4/stack-direction.m4 (SV_STACK_DIRECTION):

Re: [PATCH] stack-direction: Add support for loongarch CPU

2021-09-04 Thread Bruno Haible
Paul Eggert wrote: > Here is some documentation, which includes ABI documentation: > > https://github.com/loongson/LoongArch-Documentation Thanks; I already got these documents from https://loongson.github.io/LoongArch-Documentation/README-EN.html But all it contains regarding the ABI is 1 pag

Re: [PATCH] stack-direction: Add support for loongarch CPU

2021-09-04 Thread Paul Eggert
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.

Re: [PATCH] stack-direction: Add support for loongarch CPU

2021-09-04 Thread Bruno Haible
Hi, Sun Haiyong wrote: > * m4/stack-direction.m4 (SV_STACK_DIRECTION): When the CPU is loongarch, > set "sv_cv_stack_direction" to "-1" . Thanks for the patch. Do you know a document which explains the ABI of this architecture (I mean: register usage, max number of arguments passed in registers,

[PATCH] stack-direction: Add support for loongarch CPU

2021-08-30 Thread Sun Haiyong
* m4/stack-direction.m4 (SV_STACK_DIRECTION): When the CPU is loongarch, set "sv_cv_stack_direction" to "-1" . --- m4/stack-direction.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 index 93287254b..e6c3284ce 100644 --- a/m4/stack-direction.m4 +