summaryrefslogtreecommitdiff
path: root/mpn/cray
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-09-16 13:22:41 +0200
committertege <tege@gmplib.org>2001-09-16 13:22:41 +0200
commit9285b1e8903d429b13930d594c8bf980b50db900 (patch)
tree0d75a2fe71fe79c5ed8a430f3d0f49c53d50da57 /mpn/cray
parent13f207d90b5c0afb2618f0048658ac2c1024a732 (diff)
downloadgmp-9285b1e8903d429b13930d594c8bf980b50db900.tar.gz
Fix some comments.
Diffstat (limited to 'mpn/cray')
-rw-r--r--mpn/cray/add_n.c7
-rw-r--r--mpn/cray/sub_n.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/mpn/cray/add_n.c b/mpn/cray/add_n.c
index 16b053b7c..5be56b510 100644
--- a/mpn/cray/add_n.c
+++ b/mpn/cray/add_n.c
@@ -1,5 +1,5 @@
-/* Cray PVP/IEEE mpn_add_n -- add two limb vectors and store their sum in a
- third limb vector.
+/* Cray PVP mpn_add_n -- add two limb vectors and store their sum in a third
+ limb vector.
Copyright 1996, 2000, 2001 Free Software Foundation, Inc.
@@ -47,7 +47,8 @@ mpn_add_n (mp_ptr rp, mp_srcptr up, mp_srcptr vp, mp_size_t n)
cy[i] = c0;
}
/* Carry add loop. Add the carry vector cy[] to the raw sum rp[] and
- store the new sum back to rp[0]. */
+ store the new sum back to rp[0]. If this generates further carry, set
+ more_carries. */
more_carries = 0;
#pragma _CRI ivdep
for (i = 1; i < n; i++)
diff --git a/mpn/cray/sub_n.c b/mpn/cray/sub_n.c
index e0cf2ff2e..40ee931e4 100644
--- a/mpn/cray/sub_n.c
+++ b/mpn/cray/sub_n.c
@@ -1,5 +1,5 @@
-/* Cray PVP/IEEE mpn_sub_n -- subtract two limb vectors and store their
- difference in a third limb vector.
+/* Cray PVP mpn_sub_n -- subtract two limb vectors and store their difference
+ in a third limb vector.
Copyright 1996, 2000, 2001 Free Software Foundation, Inc.