[Gmp-commit] /var/hg/gmp: Spelling fixes.
mercurial at gmplib.org
mercurial at gmplib.org
Sat Dec 28 18:22:20 UTC 2013
details: /var/hg/gmp/rev/b54e6fb7c97d
changeset: 16121:b54e6fb7c97d
user: Torbjorn Granlund <tege at gmplib.org>
date: Sat Dec 28 19:22:16 2013 +0100
description:
Spelling fixes.
diffstat:
ChangeLog | 12 ++++++------
acinclude.m4 | 2 +-
mpn/generic/div_qr_2.c | 2 +-
mpn/generic/get_d.c | 2 +-
mpn/ia64/dive_1.asm | 2 +-
mpn/pa64/umul.asm | 3 +--
mpn/s390_64/README | 2 +-
mpn/x86/cnd_aors_n.asm | 2 +-
mpn/x86_64/cnd_aors_n.asm | 2 +-
mpz/prodlimbs.c | 2 +-
tests/mpn/t-invert.c | 2 +-
tune/freq.c | 4 ++--
12 files changed, 18 insertions(+), 19 deletions(-)
diffs (195 lines):
diff -r a2a4b5aae3e7 -r b54e6fb7c97d ChangeLog
--- a/ChangeLog Sat Dec 28 16:35:56 2013 +0100
+++ b/ChangeLog Sat Dec 28 19:22:16 2013 +0100
@@ -9872,14 +9872,14 @@
Deleted rn argument.
(mpn_gcdext): Updated calls to addmul2_n, and added assertions.
- * gmp-impl.h (MPN_HGCD_MATRIX_INIT_ITCH): Increased storage by four limbs.
+ * gmp-impl.h (MPN_HGCD_MATRIX_INIT_ITCH): Increased storage by 4 limbs.
(MPN_HGCD_LEHMER_ITCH): Reduced storage by one limb.
(MPN_GCD_SUBDIV_STEP_ITCH): Likewise.
(MPN_GCD_LEHMER_N_ITCH): Likewise.
* mpn/generic/hgcd.c (mpn_hgcd_matrix_init): Use two extra limbs.
(hgcd_step): Use overlapping arguments to mpn_tdiv_qr.
- (mpn_hgcd_matrix_mul): Deleted normalization code. Tigher bounds
+ (mpn_hgcd_matrix_mul): Deleted normalization code. Tighter bounds
for the element size of the product. Needs two extra limbs of
storage for the elements.
(mpn_hgcd_itch): Updated storage calculation.
@@ -14797,7 +14797,7 @@
* mpn/sparc32/v9/udiv.asm: Amend heading, this file is for sparc v9.
* tests/cxx/Makefile.am (TESTS_ENVIRONMENT): In libtool openbsd hack,
- disard error messages from cp, for the benefit of --disable-shared or
+ discard error messages from cp, for the benefit of --disable-shared or
systems not using names libgmp.so.*.
* tests/devel/try.c (try_one): When overlapping, copy source data
@@ -31312,7 +31312,7 @@
Use mpn_divmod for division; corresponding changes in return value
convention.
* mpz/powm.c: `carry_digit' => `carry_limb'.
- * bsd/sdiv.c: Clearify comment.
+ * bsd/sdiv.c: Clarify comment.
Sun Apr 25 00:31:28 1993 Torbjorn Granlund (tege at pde.nada.kth.se)
@@ -32140,7 +32140,7 @@
* gmp.h: Add declaration of mpq_clear.
- * dist-Makefile: Chack if "ranlib" exists, before using it.
+ * dist-Makefile: Check if "ranlib" exists, before using it.
* dist-Makefile: Add mpz_sqrtrem.c and mpz_size.c.
* mpz_powm: Fix typo, "pow" instead of "mpz_powm".
@@ -32288,7 +32288,7 @@
Thu May 22 20:25:29 1991 Torbjorn Granlund (tege at zevs.sics.se)
* Add manual to distribution.
- * Fold in many missing routines descibed in the manual.
+ * Fold in many missing routines described in the manual.
* Update Makefile.
Wed May 22 13:48:46 1991 Torbjorn Granlund (tege at zevs.sics.se)
diff -r a2a4b5aae3e7 -r b54e6fb7c97d acinclude.m4
--- a/acinclude.m4 Sat Dec 28 16:35:56 2013 +0100
+++ b/acinclude.m4 Sat Dec 28 19:22:16 2013 +0100
@@ -674,7 +674,7 @@
GMP_PROG_CC_WORKS_PART_MAIN([$1], [mpn_lshift_com optimization 2],
[/* The following is mis-compiled by Intel ia-64 icc version 1.8 under
- "icc -O3", After several calls, the function writes parial garbage to
+ "icc -O3", After several calls, the function writes partial garbage to
the result vector. Perhaps relates to the chk.a.nc insn. This code needs
to be run to show the problem, but that's fine, the offending cc is a
native-only compiler so we don't have to worry about cross compiling. */
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/generic/div_qr_2.c
--- a/mpn/generic/div_qr_2.c Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/generic/div_qr_2.c Sat Dec 28 19:22:16 2013 +0100
@@ -40,7 +40,7 @@
/* Define some longlong.h-style macros, but for wider operations.
* add_sssaaaa is like longlong.h's add_ssaaaa but the propagating
- carry-out into an additional sum opeand.
+ carry-out into an additional sum operand.
* add_csaac accepts two addends and a carry in, and generates a sum
and a carry out. A little like a "full adder".
*/
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/generic/get_d.c
--- a/mpn/generic/get_d.c Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/generic/get_d.c Sat Dec 28 19:22:16 2013 +0100
@@ -78,7 +78,7 @@
should come out nice and compact.
The generic code used to work one bit at a time, which was not only slow,
- but implicitly relied upon denoms for intermediates, since the lowest bits'
+ but implicitly relied upon denorms for intermediates, since the lowest bits'
weight of a perfectly valid fp number underflows in non-denorm. Therefore,
the generic code now works limb-per-limb, initially creating a number x such
that 1 <= x <= BASE. (BASE is reached only as result of rounding.) Then
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/ia64/dive_1.asm
--- a/mpn/ia64/dive_1.asm Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/ia64/dive_1.asm Sat Dec 28 19:22:16 2013 +0100
@@ -38,7 +38,7 @@
C The critical path during initialization is for computing the inverse of the
C divisor. Since odd divisors are probably common, we conditionally execute
-C the initial count_traling_zeros code and the downshift.
+C the initial count_trailing_zeros code and the downshift.
C Possible improvement: Merge more of the feed-in code into the inverse
C computation.
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/pa64/umul.asm
--- a/mpn/pa64/umul.asm Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/pa64/umul.asm Sat Dec 28 19:22:16 2013 +0100
@@ -19,8 +19,7 @@
dnl Optimizations:
dnl * Avoid skip instructions
dnl * Put carry-generating and carry-consuming insns consecutively
-dnl * Don't allocate any stack, "home" positions for parameteters could be
-dnl used.
+dnl * Don't allocate any stack, "home" positions for parameters could be used.
include(`../config.m4')
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/s390_64/README
--- a/mpn/s390_64/README Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/s390_64/README Sat Dec 28 19:22:16 2013 +0100
@@ -69,7 +69,7 @@
At least for older machines (z900, z990) with very slow MLGR, we
should use Karatsuba's algorithm on 2-limb units, making mul_2 and
-addmul_2 the main multiplicaton primitives. The newer machines might
+addmul_2 the main multiplication primitives. The newer machines might
benefit less from this approach, perhaps in particular z10, where MLGR
clustering is more important.
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/x86/cnd_aors_n.asm
--- a/mpn/x86/cnd_aors_n.asm Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/x86/cnd_aors_n.asm Sat Dec 28 19:22:16 2013 +0100
@@ -67,7 +67,7 @@
sbb %eax, %eax
mov %eax, cnd
- C load paramaters into registers
+ C load parameters into registers
mov 24(%esp), rp
mov 28(%esp), up
mov 32(%esp), vp
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpn/x86_64/cnd_aors_n.asm
--- a/mpn/x86_64/cnd_aors_n.asm Sat Dec 28 16:35:56 2013 +0100
+++ b/mpn/x86_64/cnd_aors_n.asm Sat Dec 28 19:22:16 2013 +0100
@@ -34,7 +34,7 @@
C NOTES
C * It might seem natural to use the cmov insn here, but since this function
C is supposed to have the exact same execution pattern for cnd true and
-C false, and since cmov's documentation is not clear about wheather it
+C false, and since cmov's documentation is not clear about whether it
C actually reads both source operands and writes the register for a false
C condition, we cannot use it.
C * Two cases could be optimised: (1) cnd_add_n could use ADCSBB-from-memory
diff -r a2a4b5aae3e7 -r b54e6fb7c97d mpz/prodlimbs.c
--- a/mpz/prodlimbs.c Sat Dec 28 16:35:56 2013 +0100
+++ b/mpz/prodlimbs.c Sat Dec 28 19:22:16 2013 +0100
@@ -1,4 +1,4 @@
-/* mpz_prodlimps(RESULT, V, LEN) -- Set RESULT to V[0]*V[1]*...*V[LEN-1].
+/* mpz_prodlimbs(RESULT, V, LEN) -- Set RESULT to V[0]*V[1]*...*V[LEN-1].
Contributed to the GNU project by Marco Bodrato.
diff -r a2a4b5aae3e7 -r b54e6fb7c97d tests/mpn/t-invert.c
--- a/tests/mpn/t-invert.c Sat Dec 28 16:35:56 2013 +0100
+++ b/tests/mpn/t-invert.c Sat Dec 28 19:22:16 2013 +0100
@@ -59,7 +59,7 @@
}
/*
- Chech the result of the mpn_invert function in the library.
+ Check the result of the mpn_invert function in the library.
*/
int
diff -r a2a4b5aae3e7 -r b54e6fb7c97d tune/freq.c
--- a/tune/freq.c Sat Dec 28 16:35:56 2013 +0100
+++ b/tune/freq.c Sat Dec 28 19:22:16 2013 +0100
@@ -459,7 +459,7 @@
/* "/etc/hw -r cpu" for SCO OpenUnix 8, printing a line like
- The speed of the CPU is approximately 450Mhz
+ The speed of the CPU is approximately 450MHz
*/
static int
freq_sco_etchw (int help)
@@ -480,7 +480,7 @@
while (fgets (buf, sizeof (buf), fp) != NULL)
{
end = 0;
- if (sscanf (buf, " The speed of the CPU is approximately %lfMhz%n",
+ if (sscanf (buf, " The speed of the CPU is approximately %lfMHz%n",
&val, &end) == 1 && end != 0)
{
speed_cycletime = 1e-6 / val;
More information about the gmp-commit
mailing list