This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Split mantissa calculation loop and add branchprediction to mp multiplication
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 31 Dec 2012 16:03:15 +0530
- Subject: Re: [PATCH] Split mantissa calculation loop and add branchprediction to mp multiplication
- References: <20121231092850.GA21621@spoyarek.pnq.redhat.com><50E16840.50204@suse.com>
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