This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wide-int] Add fast path for hosts with HWI widening multiplication
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Kenneth Zadeck <zadeck at naturalbridge dot com>, Mike Stump <mikestump at comcast dot net>, Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Sun, 1 Dec 2013 10:48:19 -0800
- Subject: Re: [wide-int] Add fast path for hosts with HWI widening multiplication
- Authentication-results: sourceware.org; auth=none
- References: <8761r8kgph dot fsf at talisman dot default>
On Sun, Dec 1, 2013 at 2:28 AM, Richard Sandiford
<rdsandiford@googlemail.com> wrote:
>
> I followed Joseph's suggestion and reused longlong.h. I copied it from
> libgcc rather than glibc since it seemed better for GCC to have a single
> version across both gcc/ and libgcc/. I can put it in include/ if that
> seems better.
Actually copying complex code like this does not seem maintainable. I
think there needs to be only one copy in the GCC sources. If that
requires moving it back from libgcc to gcc, or moving it to include,
do that.
Ian