Re: Using __int128 on 64-bit architectures

From: Michael Cree
Date: Sun Apr 21 2013 - 05:51:38 EST


On Sun, Apr 21, 2013 at 07:35:31PM +1000, Stephen Rothwell wrote:
> On Sun, 21 Apr 2013 05:29:28 +0100 (BST) "Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx> wrote:
> >
> > Hmm, nobody has replied, so just FYI such widening multiplication is
> > available in all 64-bit MIPS hardware and GCC has supported it since 4.4
> > or mid 2008 (older versions used a libgcc __multi3 helper, not quite so
> > efficient as you can imagine).
>
> i.e. for gcc 4.6.3, 64 bit powerpc calls out to __multi3
>
> The same is true for sparc64.

Likewise, with gcc-4.6.3, alpha calls out to __multi3.

Cheers
Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/