[Gmp-commit] /var/hg/gmp-5.1: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Wed May 22 15:31:59 CEST 2013


details:   /var/hg/gmp-5.1/rev/410c6053e4d5
changeset: 15425:410c6053e4d5
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed May 22 15:24:00 2013 +0200
description:
(Reporting Bugs): Ask for configure's output.

details:   /var/hg/gmp-5.1/rev/b21d294ebb94
changeset: 15426:b21d294ebb94
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed May 22 15:31:27 2013 +0200
description:
ChangeLog

diffstat:

 ChangeLog    |   6 ++++++
 doc/gmp.texi |  20 ++++++++++++--------
 2 files changed, 18 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r 394bdf8fdaee -r b21d294ebb94 ChangeLog
--- a/ChangeLog	Wed May 22 12:02:34 2013 +0200
+++ b/ChangeLog	Wed May 22 15:31:27 2013 +0200
@@ -1,3 +1,9 @@
+2013-05-22  Torbjorn Granlund  <tege at gmplib.org>
+
+	* doc/gmp.texi (Reporting Bugs): Ask for configure's output.
+
+	* mpn/ia64/divrem_2.asm: Don't clobber f16-f18.
+
 2013-05-20  Torbjorn Granlund  <tege at gmplib.org>
 
 	* Version 5.1.2 released.
diff -r 394bdf8fdaee -r b21d294ebb94 doc/gmp.texi
--- a/doc/gmp.texi	Wed May 22 12:02:34 2013 +0200
+++ b/doc/gmp.texi	Wed May 22 15:31:27 2013 +0200
@@ -2647,19 +2647,20 @@
 
 @item Valgrind
 @cindex Valgrind
-The valgrind program (@uref{http://valgrind.org/}) is a memory
-checker for x86s.  It translates and emulates machine instructions to do
+Valgrind (@uref{http://valgrind.org/}) is a memory checker for x86, ARM, MIPS,
+PowerPC, and S/390.  It translates and emulates machine instructions to do
 strong checks for uninitialized data (at the level of individual bits), memory
 accesses through bad pointers, and memory leaks.
 
-Recent versions of Valgrind are getting support for MMX and SSE/SSE2
-instructions, for past versions GMP will need to be configured not to use
-those, i.e.@: for an x86 without them (for instance plain @samp{i486}).
+Valgrind does not always support every possible instruction, in particular
+ones recently added to an ISA.  Valgrind might therefore be incompatible with
+a recent GMP or even a less recent GMP which is compiled using a recent GCC.
 
 GMP's assembly code sometimes promotes a read of the limbs to some larger size,
 for efficiency.  GMP will do this even at the start and end of a multilimb
-operand, using naturaly aligned operations on the larger type.  This may lead
-to benign reads outside of allocated areas, triggering complants from Valgrind.
+operand, using naturally aligned operations on the larger type.  This may lead
+to benign reads outside of allocated areas, triggering complaints from
+Valgrind.  Valgrind's option @samp{--partial-loads-ok=yes} should help.
 
 @item Other Problems
 Any suspected bug in GMP itself should be isolated to make sure it's not an
@@ -2882,7 +2883,10 @@
 Please do not send core dumps, executables or @command{strace}s.
 
 @item
-The configuration options you used when building GMP, if any.
+The @samp{configure} options you used when building GMP, if any.
+
+ at item
+The output from @samp{configure}, as printed to stdout, with any options used.
 
 @item
 The name of the compiler and its version.  For @command{gcc}, get the version


More information about the gmp-commit mailing list