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

From: H. Peter Anvin
Date: Tue Apr 24 2012 - 18:03:29 EST


On 04/24/2012 03:00 PM, Peter Zijlstra wrote:
>
> I haven't been able to make add_u128 generate sane code using __int128,
> the conversion between my struct and the __int128 layout makes a horrid
> mess.
>

Use a union, or define your type simply as __int128 if you're on a
suitable platform?

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