Re: [RFC][PATCH 3/3] math128, x86_64: Implement {mult,add}_u128 in 64bit asm
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?