Re: [PATCH 1/2] math128: Introduce {mult,add,cmp}_u128

From: Peter Zijlstra
Date: Wed Apr 25 2012 - 11:02:59 EST


On Wed, 2012-04-25 at 15:29 +0100, Jay Foad wrote:
> > + res.hi |= x.lo >> (64 - n);
>
> This is undefined when n == 0.
>
>
Thanks, added a !n test.
--
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/