[PATCH] Split mantissa calculation loop and add branch prediction to mp multiplication
Siddhesh Poyarekar
siddhesh@redhat.com
Mon Dec 31 11:16:00 GMT 2012
On Mon, Dec 31, 2012 at 11:26:08AM +0100, Andreas Jaeger wrote:
> >
> >time ./powtest 1000000 1.0000000000000020 1.5000000000500000
> >
> >Taking into account the best times with and without the patch (with
> >more than 10 runs each), the improvement is about a quarter of a
> >second.
>
> What's the percentage? 0.25s can be a lot - or very little depending
> on the total run time.
>
Ugh, sorry. The best time without the patch is 11.639 seconds for the
above program and the best time with the patch is 11.409. So the
improvement is 0.23 seconds, which is an improvement of about 1.97%.
Siddhesh
More information about the Libc-alpha
mailing list