Re: [PATCH 1/1] vsprintf: optimize decimal conversion (again)
From: H. Peter Anvin
Date: Mon Mar 26 2012 - 23:49:54 EST
On 03/26/2012 04:18 PM, Denys Vlasenko wrote:
> Only 64-bit machines will perform 64-bit
> division, one per 9 decimal digits (thus, at most three divisions
> per one long_long->string conversion).
FWIW, gcc supports 128-bit integers on 64-bit platforms using the
__int128 keyword.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
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/