[PATCH] LoongArch: Improve GAR store for va_list

2023-03-28 Thread Xi Ruoyao via Gcc-patches
LoongArch backend used to save all GARs for a function with variable arguments. But sometimes a function only accepts variable arguments for a purpose like C++ function overloading. For example, POSIX defines open() as: int open(const char *path, int oflag, ...); But only two forms are actu

Re: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-10 Thread Xi Ruoyao via Gcc-patches
Ping. Or maybe I've lost some replies here because my mail server crashed several days ago :). On Wed, 2023-03-29 at 02:01 +0800, Xi Ruoyao wrote: > LoongArch backend used to save all GARs for a function with variable > arguments.  But sometimes a function only accepts variable arguments > for >

Re: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-10 Thread Lulu Cheng
Sorry, it's my question. I still have some questions that I haven't understood, so I haven't replied to the email yet.:-( 在 2023/4/10 下午5:04, Xi Ruoyao 写道: Ping. Or maybe I've lost some replies here because my mail server crashed several days ago :). On Wed, 2023-03-29 at 02:01 +0800, Xi Ruo

Re: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-18 Thread Xi Ruoyao via Gcc-patches
On Mon, 2023-04-10 at 17:45 +0800, Lulu Cheng wrote: > Sorry, it's my question. I still have some questions that I haven't > understood, so I haven't replied to the email yet.:-( I've verified the value of cfun->va_list_gpr_size with -fdump-tree- stdarg and various testcases (including extracting

Re: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-18 Thread Lulu Cheng
在 2023/4/18 下午5:27, Xi Ruoyao 写道: On Mon, 2023-04-10 at 17:45 +0800, Lulu Cheng wrote: Sorry, it's my question. I still have some questions that I haven't understood, so I haven't replied to the email yet.:-( I've verified the value of cfun->va_list_gpr_size with -fdump-tree- stdarg and vario

Re: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-18 Thread Xi Ruoyao via Gcc-patches
On Tue, 2023-04-18 at 19:21 +0800, Lulu Cheng wrote: > > 在 2023/4/18 下午5:27, Xi Ruoyao 写道: > > On Mon, 2023-04-10 at 17:45 +0800, Lulu Cheng wrote: > > > Sorry, it's my question. I still have some questions that I haven't > > > understood, so I haven't replied to the email yet.:-( > > I've verifie

Re: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-18 Thread Lulu Cheng
在 2023/4/18 下午7:48, Xi Ruoyao 写道: On Tue, 2023-04-18 at 19:21 +0800, Lulu Cheng wrote: 在 2023/4/18 下午5:27, Xi Ruoyao 写道: On Mon, 2023-04-10 at 17:45 +0800, Lulu Cheng wrote: Sorry, it's my question. I still have some questions that I haven't understood, so I haven't replied to the email yet.

Pushed: [PATCH] LoongArch: Improve GAR store for va_list

2023-04-19 Thread Xi Ruoyao via Gcc-patches
On Tue, 2023-04-18 at 20:03 +0800, Lulu Cheng wrote: > > 在 2023/4/18 下午7:48, Xi Ruoyao 写道: > > On Tue, 2023-04-18 at 19:21 +0800, Lulu Cheng wrote: > > > 在 2023/4/18 下午5:27, Xi Ruoyao 写道: > > > > On Mon, 2023-04-10 at 17:45 +0800, Lulu Cheng wrote: > > > > > Sorry, it's my question. I still have s