Re: [RFC][PATCH 3/3] math128, x86_64: Implement {mult,add}_u128 in 64bit asm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-04-24 at 10:17 -0700, H. Peter Anvin wrote:
> On 04/24/2012 09:36 AM, Peter Zijlstra wrote:
> > On Tue, 2012-04-24 at 09:34 -0700, H. Peter Anvin wrote:
> >> On 04/24/2012 09:10 AM, Peter Zijlstra wrote:
> >>
> >> Are you sure that gcc won't simply generate this code already if given
> >> "unsigned __int128"?
> > 
> > It might, but I've been told some GCC versions had issues, also lots of
> > archs fall back to libgcc functions.
> > 
> 
> Yes, but this is specific to x86-64.  If gcc can generate the code it
> can also schedule the code, which it can't for assembly...

Ok, but are you sure unsigned __int128 works for all gcc versions we
support?
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux