Re: [PATCH 02/16] math128, x86_64: Implement {mul,add}_u128 in 64bitasm

From: H. Peter Anvin
Date: Wed Oct 24 2012 - 18:52:51 EST


On 10/24/2012 03:47 PM, Juri Lelli wrote:
>>
>> How could this work since u128 presumably has not yet been defined as a
>> structure? After all, isn't it the absence of ARCH_HAS_INT128 which
>> makes that happen?
>
> Sorry, you were not in the Cc list of the previous patch in the patchset,
> so you probably missed that. I should have triple checked git send-email
> Cc list. Sorry about that.
>
> I'll add you there.
>

Hmm... you realize that at least on some platform the u128 as a union is
going to perform worse than the plain __int128, right? As such IMO it
would be better if the union was only defined if needed.

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