Re: [PATCH v1] lib/vsprintf.c: Even faster decimal conversion

From: Rasmus Villemoes
Date: Thu Mar 19 2015 - 17:41:50 EST


On Wed, Mar 11 2015, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 11 Mar 2015 00:01:11 +0100 Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> wrote:
>> Test and verification code on github
>> <https://github.com/Villemoes/dec>. It would be nice if someone could
>> verify the code on architectures other than x86 - in particular, I
>> believe it _should_ work on big-endian, but I have no way of testing
>> that. Benchmark numbers would be nice too, of course.
>
> That would be nice.
>
> It would be best to make this as easy as possible for people.

Verification passed on both ppc64le and ppc64; the microbenchmark showed
improvements in 13-43% range for ppc64le and 13-34% for ppc64.

Thanks to Nishanth Aravamudan.

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