Re: [PATCH] MIPS: use generic GCC library routines from lib/

From: James Hogan
Date: Thu Jan 18 2018 - 15:26:01 EST


On Thu, Jan 18, 2018 at 07:54:49PM +0000, James Hogan wrote:
> On 18 January 2018 20:05:05 GMT+00:00, Antony Pavlov <antonynpavlov@xxxxxxxxx> wrote:
> >On Wed, 17 Jan 2018 17:34:59 -0800 (PST)
> >Palmer Dabbelt <palmer@xxxxxxxxxx> wrote:
> >> Given that, I think you can also drop arch/mips/lib/libgcc.h -- if
> >it's used
> >> from anywhere else, it should be possible to use
> >include/linux/libgcc.h
> >> instead.
> >
> >I agree with you.
>
> actually theres a patch in mips-next which implements __multi3 for mips64r6, which uses that file, and in fact extends it for 128bit types.

More specifically, commit ebabcf17bcd7 ("MIPS: Implement __multi3 for
GCC7 MIPS64r6 builds"), which will find its way into v4.15. See also
https://patchwork.linux-mips.org/patch/17890/

Cheers
James

Attachment: signature.asc
Description: Digital signature