lkml.org 
[lkml]   [2012]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?

-hpa



\
 
 \ /
  Last update: 2012-04-25 00:07    [W:0.123 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site