This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] RISC-V: Promote type correctly for libcalls
- From: Richard Biener <rguenther at suse dot de>
- To: Kito Cheng <kito dot cheng at sifive dot com>
- Cc: Jim Wilson <jimw at sifive dot com>, Jakub Jelinek <jakub at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Kito Cheng <kito dot cheng at gmail dot com>
- Date: Mon, 5 Aug 2019 09:29:24 +0200 (CEST)
- Subject: Re: [PATCH v2] RISC-V: Promote type correctly for libcalls
- References: <1564729885-7984-1-git-send-email-kito.cheng@sifive.com> <CAFyWVab3zXVfRBOwh2QRkvKODPRNZHEVcFvhH4YA=LVZ4VASQw@mail.gmail.com> <CALLt3TgsdwYU5dwGP4GSvJf_GFJtWztswXQmhXtD=9fX0ahQOA@mail.gmail.com>
On Mon, 5 Aug 2019, Kito Cheng wrote:
> Committed as r274107
>
> Hi Jakub, Richard:
>
> This patch is fix ABI bug for libcall on RISC-V, we've also tested on
> gcc 8 and 9, it's ok for gcc 9 and 8?
Works for me.
Thanks,
Richard.
> Thanks.
>
> On Fri, Aug 2, 2019 at 11:52 PM Jim Wilson <jimw@sifive.com> wrote:
> >
> > On Fri, Aug 2, 2019 at 12:11 AM Kito Cheng <kito.cheng@sifive.com> wrote:
> > > gcc/ChangeLog
> > > * config/riscv/riscv.c (riscv_promote_function_mode): New.
> > > (TARGET_PROMOTE_FUNCTION_MODE): Use riscv_promote_function_mode.
> > > gcc/testsuite/ChangeLog
> > > * gcc.target/riscv/promote-type-for-libcall.c: New.
> >
> > Thanks. This looks good, and fails with gcc mainline without the patch.
> >
> > Jim
>
--
Richard Biener <rguenther@suse.de>
SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany;
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah; HRB 21284 (AG Nürnberg)