[PATCH 0/2] math128 - v2

From: Peter Zijlstra
Date: Wed Apr 25 2012 - 07:28:42 EST


Take two of the math128 bits..

Changes since last time:
- Added gcc __int128 versions for where it works
- Added Andy's mul_u64_u32_shr() due to popular demand :-)
- Added {shl,shr}_u128 as requested by hpa (although I suspect he'll
use Andy's fancy function).
- Added a U128_INIT() constant initializer.
- Renamed mult_u128 to mul_u64_u64, hpa complaned the name was
misleading
- Fixed some of the code generation issues with add_u128 and
mul_u64_64.

I've also assumed we're all actually ok with adding this functionality,
so unless someone hollers I'll push this for inclusion.

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