[libmath-prime-util-perl] 33/33: Remove unused popcnt on 32-bit

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:51:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.37
in repository libmath-prime-util-perl.

commit c6adc48dd2d92eafd12ef9c5fb40a40aa2f4763d
Author: Dana Jacobsen <dana at acm.org>
Date:   Sun Jan 26 02:57:52 2014 -0800

    Remove unused popcnt on 32-bit
---
 util.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/util.c b/util.c
index 2dbae67..d2b9363 100644
--- a/util.c
+++ b/util.c
@@ -103,13 +103,6 @@ int  _XS_get_callgmp(void) { return _call_gmp; }
      return (b * 0x0101010101010101) >> 56;
    }
  #endif
-#else
-   static UV popcnt(UV b) {
-     b -= (b >> 1) & 0x55555555;
-     b = (b & 0x33333333) + ((b >> 2) & 0x33333333);
-     b = (b + (b >> 4)) & 0x0f0f0f0f;
-     return (b * 0x01010101) >> 24;
-   }
 #endif
 
 #if defined(__GNUC__)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git



More information about the Pkg-perl-cvs-commits mailing list