summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-05-07 03:15:12 +0200
committerKevin Ryde <user42@zip.com.au>2002-05-07 03:15:12 +0200
commit184d3a1389828fb8b1474500fddfe90a18bcb31a (patch)
tree9d4d3c3da984beaf3a77fe1a3250b3cfacfb1f82
parenta0997b6571f3bfb7a924ba7acae869393c148eff (diff)
downloadgmp-184d3a1389828fb8b1474500fddfe90a18bcb31a.tar.gz
Add cray _popc.
-rw-r--r--doc/tasks.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/tasks.html b/doc/tasks.html
index 930368844..37336ad50 100644
--- a/doc/tasks.html
+++ b/doc/tasks.html
@@ -33,7 +33,7 @@ MA 02111-1307, USA.
<hr>
<!-- NB. timestamp updated automatically by emacs -->
<comment>
- This file current as of 27 Apr 2002. An up-to-date version is available at
+ This file current as of 7 May 2002. An up-to-date version is available at
<a href="http://www.swox.com/gmp/tasks.html">http://www.swox.com/gmp/tasks.html</a>.
Please send comments about this page to
<a href="mailto:bug-gmp@gnu.org">bug-gmp@gnu.org</a>.
@@ -506,6 +506,11 @@ MA 02111-1307, USA.
Does it? <code>bits_per_digit</code> and the inner loop over bits in a
limb might prevent it. Perhaps special cases for binary, octal and hex
would be worthwhile (very possibly for all processors too).
+<li> Cray: <code>popc_limb</code> could use the Cray <code>_popc</code>
+ intrinsic. That would help <code>mpz_hamdist</code> and might make the
+ generic C versions of <code>mpn_popcount</code> and
+ <code>mpn_hamdist</code> suffice for Cray (if it vectorizes, or can be
+ given a hint to do so).
<li> 68000: <code>mpn_mul_1</code> could check for a 16-bit multiplier and use
two multiplies per limb, not four. Ditto <code>mpn_addmul_1</code> and
<code>mpn_submul_1</code>.