Re: [RFC][PATCH 0/3] gcc work-around and math128

From: H. Peter Anvin
Date: Tue Apr 24 2012 - 13:27:30 EST


On 04/24/2012 10:22 AM, H. Peter Anvin wrote:
> On 04/24/2012 09:10 AM, Peter Zijlstra wrote:
>>
>> So far its just mult, add and cmp for u128, no divisions quite yet. I realize
>> that on 32bit archs mult_u128 will result in like 8 multiplication
>> instructions that's still nowhere near the most expensive thing ever.
>>
>
> Please add shifts, at the very least.
>

Oh, and a constant constructor.

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