From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Cree Subject: Re: Using __int128 on 64-bit architectures Date: Sun, 21 Apr 2013 21:51:20 +1200 Message-ID: <20130421095120.GA6508@omega> References: <51464C00.5090107@zytor.com> <20130421193531.43965f592f00dfd6e3cfcf45@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130421193531.43965f592f00dfd6e3cfcf45@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell Cc: "Maciej W. Rozycki" , "H. Peter Anvin" , Linux Arch Mailing List , Linux Kernel Mailing List List-Id: linux-arch.vger.kernel.org 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" 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nctlincom01.orcon.net.nz ([60.234.4.69]:44361 "EHLO nctlincom01.orcon.net.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753155Ab3DULAO (ORCPT ); Sun, 21 Apr 2013 07:00:14 -0400 Received: from mx5.orcon.net.nz (mx5.orcon.net.nz [219.88.242.55]) by nctlincom01.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3LAkjLR030140 for ; Sun, 21 Apr 2013 22:46:45 +1200 Received: from Debian-exim by mx5.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1UTqvg-0007dE-0o for linux-arch@vger.kernel.org; Sun, 21 Apr 2013 21:51:28 +1200 Date: Sun, 21 Apr 2013 21:51:20 +1200 From: Michael Cree Subject: Re: Using __int128 on 64-bit architectures Message-ID: <20130421095120.GA6508@omega> References: <51464C00.5090107@zytor.com> <20130421193531.43965f592f00dfd6e3cfcf45@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130421193531.43965f592f00dfd6e3cfcf45@canb.auug.org.au> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: "Maciej W. Rozycki" , "H. Peter Anvin" , Linux Arch Mailing List , Linux Kernel Mailing List Message-ID: <20130421095120.kgWetYC8bBoDUrij5jCb-NWKCDzaF0Iwpn30QBB7cZU@z> 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" 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.