[PATCH] Clean up sub_magnitudes and add_magnitudes in mpa

Andreas Jaeger aj@suse.com
Wed Feb 13 08:10:00 GMT 2013


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



More information about the Libc-alpha mailing list