diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-11-29 00:26:38 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-11-29 00:26:38 +0100 |
commit | 5c34c5940099bb227a39c0c24a51022657193efe (patch) | |
tree | 6ac62ab37b61ed3fa2280626f6ff5ab23e930b4e /doc | |
parent | 81aeff7b6c63da2f0551eb90e306654e1a954ed6 (diff) | |
download | gmp-5c34c5940099bb227a39c0c24a51022657193efe.tar.gz |
Remove mpz_perfect_power_p negatives and scan1, done.
Note problem with base indicator for octal floats.
More on mips config.guess endianness.
Add ppc 604 versus 750 gmp-mparam.h.
Add z8k ABI=32 possibility.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tasks.html | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/doc/tasks.html b/doc/tasks.html index 3d08b6d87..02735e820 100644 --- a/doc/tasks.html +++ b/doc/tasks.html @@ -34,7 +34,7 @@ Copyright 2000, 2001 Free Software Foundation, Inc. <hr> <!-- NB. timestamp updated automatically by emacs --> <comment> - This file current as of 23 Nov 2001. An up-to-date version is available at + This file current as of 29 Nov 2001. 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>. @@ -166,10 +166,8 @@ Copyright 2000, 2001 Free Software Foundation, Inc. <li> <code>mpz_perfect_power_p</code> could be improved in a number of ways. Test for Nth power residues modulo small primes like <code>mpn_perfect_square_p</code> does. Use p-adic arithmetic to find - possible roots. Negatives should be handled, and used to know the power - must be odd. Divisibility by powers of 2 should be tested with - <code>mpz_scan1</code> or similar. Divisibility by other primes should - be tested by grouping into a limb like <code>PP</code>. + possible roots. Divisibility by other primes should be tested by + grouping into a limb like <code>PP</code>. <li> <code>mpz_perfect_power_p</code> might like to use <code>mpn_gcd_1</code> instead of a private GCD routine. The use it's put to isn't time-critical, and it might help be ensure correctness to use the main GCD @@ -559,7 +557,8 @@ Copyright 2000, 2001 Free Software Foundation, Inc. <li> <code>mpf_set_str</code> and <code>mpf_inp_str</code> could usefully accept 0x, 0b etc when base==0. Perhaps the exponent could default to decimal in this case, with a further 0x, 0b etc allowed there. - Eg. 0xFFAA@0x5A. + Eg. 0xFFAA@0x5A. A leading "0" for octal would match the integers, but + probably something like "0.123" ought not mean octal. <li> <code>GMP_LONG_LONG_LIMB</code> or some such could become a documented feature of gmp.h, so applications could know whether to <code>printf</code> a limb using <code>%lu</code> or <code>%Lu</code>. @@ -606,16 +605,23 @@ Copyright 2000, 2001 Free Software Foundation, Inc. <li> Mips: Rename `mips2' => `mips32' and `mips3' => `mips64'. <li> Mips: config.guess should say mipsr3000, mipsr4000, mipsr10000, etc. "hinv -c processor" gives lots of information on Irix. Standard - config.guess etc append "el" to indicate endianness, but GMP probably - doesn't care about endianness and could forget about that. + config.guess etc append "el" to indicate endianness. GMP probably + doesn't care about endianness for normal limb operations, but might if + attempting to optimize bytes<->limbs conversions. Perhaps + mipsr3000el and mipsr3000eb should be accepted, either that or see if + there's a good way to ask the compiler if it knows the endianness. <li> Mips: IRIX 6.5 "as" doesn't like the <code>.byte</code> used in <code>GMP_ASM_LSYM_PREFIX</code> because it's data being emitted in the text section. It also complains about lacking - <code>.ent</code>/<code>.end</code> directives. The <code>L</code> is - probably right, but perhaps the test should be improved. + <code>.ent</code>/<code>.end</code> directives. The fallback + <code>L</code> is probably right, but perhaps the test should be + improved. <li> Power: config.guess might be able to use AIX 4 <code>_system_configuration.implementation</code> for more accurate CPU determination. +<li> PowerPC-32: gmp-mparam.h comes out quite different for a 750 than a 604e, + it'd be good to select the right one, probably by having CPU types + powerpc604, powerpc750 etc. <li> Sparc: config.guess should say supersparc, microsparc, ultrasparc1, ultrasparc2, etc. "prtconf -vp" gives lots of information about a Solaris system. @@ -654,6 +660,9 @@ Copyright 2000, 2001 Free Software Foundation, Inc. <li> m88k: Make the assembler code work on non-underscore systems. Conversion to .asm would be desirable. Ought to be easy, but would want to be tested. +<li> z8k: The use of a 32-bit limb in mpn/z8000x as opposed to 16-bits in + mpn/z8000 could be an ABI choice. But this chip is obsolete and nothing + is likely to be done unless someone is actively using it. <li> config.m4 is generated only by the configure script, it won't be regenerated by config.status. Creating it as an <code>AC_OUTPUT</code> would work, but it might upset "make" to have things like <code>L$</code> |