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

From: H. Peter Anvin
Date: Tue Apr 24 2012 - 13:20:57 EST


On 04/24/2012 10:19 AM, Peter Zijlstra wrote:
>>
>> 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?
>

I have been told __int128 works for all versions of gcc which support
x86-64, but I haven't verified it myself, no.

-hpa
--
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/