summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-04-11 23:41:10 +0200
committerKevin Ryde <user42@zip.com.au>2000-04-11 23:41:10 +0200
commit3287ebb99670fcd83f52605b06d406a918b07fd3 (patch)
treeef9e5fdeb20981cfc63ab16b65667e25534ab311
parentb097b1133d519e0bb4813e8ddae558ce5fd233e3 (diff)
downloadgmp-3287ebb99670fcd83f52605b06d406a918b07fd3.tar.gz
Add copyright.
-rw-r--r--mpn/mips2/umul.s19
-rw-r--r--mpn/power/sdiv.s19
-rw-r--r--mpn/power/umul.s19
-rw-r--r--mpn/x86/addsub_n.S24
-rw-r--r--mpn/x86/udiv.S21
-rw-r--r--mpn/x86/umul.S21
-rw-r--r--tests/rand/findlc.c21
-rw-r--r--tests/rand/gen.c21
-rw-r--r--tests/rand/gmpstat.h21
-rw-r--r--tests/rand/spect.c21
-rw-r--r--tests/rand/stat.c21
-rw-r--r--tests/rand/statlib.c21
12 files changed, 249 insertions, 0 deletions
diff --git a/mpn/mips2/umul.s b/mpn/mips2/umul.s
index ce1accd62..3a91004cc 100644
--- a/mpn/mips2/umul.s
+++ b/mpn/mips2/umul.s
@@ -1,3 +1,22 @@
+ # Copyright (C) 1999 Free Software Foundation, Inc.
+
+ # This file is part of the GNU MP Library.
+
+ # The GNU MP Library is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU Library General Public License as published by
+ # the Free Software Foundation; either version 2 of the License, or (at your
+ # option) any later version.
+
+ # The GNU MP Library is distributed in the hope that it will be useful, but
+ # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+ # License for more details.
+
+ # You should have received a copy of the GNU Library General Public License
+ # along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+ # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ # MA 02111-1307, USA.
+
.text
.align 2
.globl __umul_ppmm
diff --git a/mpn/power/sdiv.s b/mpn/power/sdiv.s
index 04ed976af..416985aca 100644
--- a/mpn/power/sdiv.s
+++ b/mpn/power/sdiv.s
@@ -1,3 +1,22 @@
+# Copyright (C) 1999 Free Software Foundation, Inc.
+
+# This file is part of the GNU MP Library.
+
+# The GNU MP Library is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Library General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+
+# The GNU MP Library is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+# License for more details.
+
+# You should have received a copy of the GNU Library General Public License
+# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA.
+
.toc
.globl __sdiv_qrnnd
.globl .__sdiv_qrnnd
diff --git a/mpn/power/umul.s b/mpn/power/umul.s
index c67f5680e..fffbe7b8f 100644
--- a/mpn/power/umul.s
+++ b/mpn/power/umul.s
@@ -1,3 +1,22 @@
+# Copyright (C) 1999 Free Software Foundation, Inc.
+
+# This file is part of the GNU MP Library.
+
+# The GNU MP Library is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Library General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+
+# The GNU MP Library is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+# License for more details.
+
+# You should have received a copy of the GNU Library General Public License
+# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA.
+
.toc
.globl __umul_ppmm
.globl .__umul_ppmm
diff --git a/mpn/x86/addsub_n.S b/mpn/x86/addsub_n.S
index a6a303ca4..d60da3b57 100644
--- a/mpn/x86/addsub_n.S
+++ b/mpn/x86/addsub_n.S
@@ -1,3 +1,27 @@
+/* Currently not working and not used. */
+
+/*
+Copyright (C) 1999 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
+
#define SAVE_BORROW_RESTORE_CARRY(r) adcl r,r; shll $31,r
#define SAVE_CARRY_RESTORE_BORROW(r) adcl r,r
diff --git a/mpn/x86/udiv.S b/mpn/x86/udiv.S
index 0f9227603..19db9b3ab 100644
--- a/mpn/x86/udiv.S
+++ b/mpn/x86/udiv.S
@@ -1,3 +1,24 @@
+/*
+Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
#include "asm-syntax.h"
TEXT
diff --git a/mpn/x86/umul.S b/mpn/x86/umul.S
index 6ad256722..e06ec3c21 100644
--- a/mpn/x86/umul.S
+++ b/mpn/x86/umul.S
@@ -1,3 +1,24 @@
+/*
+Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
#include "asm-syntax.h"
TEXT
diff --git a/tests/rand/findlc.c b/tests/rand/findlc.c
index 5818e5a7e..73fae3be3 100644
--- a/tests/rand/findlc.c
+++ b/tests/rand/findlc.c
@@ -1,3 +1,24 @@
+/*
+Copyright (C) 2000 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/tests/rand/gen.c b/tests/rand/gen.c
index abaa9e1d1..0689bcccd 100644
--- a/tests/rand/gen.c
+++ b/tests/rand/gen.c
@@ -1,5 +1,26 @@
/* gen.c -- Generate pseudorandom numbers. */
+/*
+Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
/* Examples:
$ gen 10
diff --git a/tests/rand/gmpstat.h b/tests/rand/gmpstat.h
index 62dd7bd21..c0248e00a 100644
--- a/tests/rand/gmpstat.h
+++ b/tests/rand/gmpstat.h
@@ -1,5 +1,26 @@
/* gmpstat.h */
+/*
+Copyright (C) 1999 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
/* This file requires the following header files: gmp.h */
#ifndef __GMPSTAT_H__
diff --git a/tests/rand/spect.c b/tests/rand/spect.c
index 670631549..120c094f9 100644
--- a/tests/rand/spect.c
+++ b/tests/rand/spect.c
@@ -1,5 +1,26 @@
/* spect.c -- the spectral test */
+/*
+Copyright (C) 1999 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
/* T is upper dimension. Z_A is the LC multiplier, which is
relatively prime to Z_M, the LC modulus. The result is put in
rop[] with v[t] in rop[t-2]. */
diff --git a/tests/rand/stat.c b/tests/rand/stat.c
index 99d2ada69..2bd32aecb 100644
--- a/tests/rand/stat.c
+++ b/tests/rand/stat.c
@@ -1,5 +1,26 @@
/* stat.c -- statistical tests of random number sequences. */
+/*
+Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
/* Examples:
$ gen 1000 | stat
diff --git a/tests/rand/statlib.c b/tests/rand/statlib.c
index ad4bbd97a..0019b3039 100644
--- a/tests/rand/statlib.c
+++ b/tests/rand/statlib.c
@@ -1,6 +1,27 @@
/* statlib.c -- Statistical functions for testing the randomness of
number sequences. */
+/*
+Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Library General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+License for more details.
+
+You should have received a copy of the GNU Library General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA.
+*/
+
/* The theories for these functions are taken from D. Knuth's "The Art
of Computer Programming: Volume 2, Seminumerical Algorithms", Third
Edition, Addison Wesley, 1998. */