This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2, i386]: Implement TARGET_EXPAND_DIVMOD_LIBFUNC
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 03 Nov 2016 13:18:19 +0100
- Subject: Re: [PATCH 2/2, i386]: Implement TARGET_EXPAND_DIVMOD_LIBFUNC
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4ZSMEBPKSTCPS8R=AMAo+nuEq34h3nW6JU27pKYj8T4dQ@mail.gmail.com> <17852569.a8SlU3KEQc@polaris> <CAFULd4b8cspu1-YqoFd4JchCVKBAg7+VveAGyq8MKSGB+0+K3A@mail.gmail.com>
> libfunc is already implemented for all targets to use, there is also:
>
> OPTAB_NC(sdivmod_optab, "divmod$a4", UNKNOWN)
> OPTAB_NC(udivmod_optab, "udivmod$a4", UNKNOWN)
>
> in optabs.def that can probably be changed for generic expansion.
So what's the purpose of ix86_init_libfuncs if the libfuncs are already there?
--
Eric Botcazou