diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-11-07 23:46:54 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-11-07 23:46:54 +0100 |
commit | 9ffdbbda305450364c27ab0600be145a748543f4 (patch) | |
tree | 3a1b19232e55eee37373772c4dea59e15ca7847a /doc | |
parent | bb9729e8e810a6c69b5dd15ced6d4c0d0916770b (diff) | |
download | gmp-9ffdbbda305450364c27ab0600be145a748543f4.tar.gz |
Add tal-notreent.c keep block allocated.
Add cray inline shifts.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tasks.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/tasks.html b/doc/tasks.html index ee0f9c098..ff49e4fc7 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 5 Nov 2001. An up-to-date version is available at + This file current as of 8 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>. @@ -304,6 +304,12 @@ Copyright 2000, 2001 Free Software Foundation, Inc. improvement for the generic C (which is used on UltraSPARC/64 for instance). GCC recognises the generic C ul*vh and vl*uh are identical, but does two separate additions to the rest of the result. +<li> tal-notreent.c could keep a block of memory permanently allocated. + Currently the last nested <code>TMP_FREE</code> releases all memory, so + there's an allocate and free every time a top-level function using + <code>TMP</code> is called. Would need + <code>mp_set_memory_functions</code> to tell tal-notreent.c to release + any cached memory when changing allocation functions though. </ul> @@ -451,6 +457,8 @@ Copyright 2000, 2001 Free Software Foundation, Inc. -hpipeline3 seems promising. We should at least up -O to -O2 or -O3. <li> Cray: <code>mpn_com_n</code> and <code>mpn_and_n</code> etc very probably wants a pragma like <code>MPN_COPY_INCR</code>. +<li> Cray vector systems: <code>mpn_lshift</code> and <code>mpn_rshift</code> + are nice and small and could be inlined to avoid function calls. <li> Cray: Variable length arrays seem to be faster than the tal-notreent.c scheme. Not sure why, maybe they merely give the compiler more information about aliasing (or the lack thereof). Would like to modify |