This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Clean up sub_magnitudes and add_magnitudes in mpa
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 13 Feb 2013 09:10:46 +0100
- Subject: Re: [PATCH] Clean up sub_magnitudes and add_magnitudes in mpa
- References: <20130208120344.GB12251@spoyarek.pnq.redhat.com>
On Friday, February 08, 2013 17:33:45 Siddhesh Poyarekar wrote:
> Hi,
>
> Attached patch is a cleanup of the add_magnitudes and sub_magnitudes
> functions. The sub_magnitudes functions code is simplified by a bit
> and both functions have an accumulator in ZK to minimize writes to Z.
> The performance improvement due to this is quite minimal on x86_64
> (~1% for the pow function when computing in 768 bits precision) but
> the resulting code is simpler to read. No regressions reported by the
> testsuite. OK to commit?
Thanks, this looks fine,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126