xref: /dragonfly/contrib/gmp/mpn/README (revision 0db87cb7)
1Copyright 1996, 1999 Free Software Foundation, Inc.
2
3This file is part of the GNU MP Library.
4
5The GNU MP Library is free software; you can redistribute it and/or modify
6it under the terms of the GNU Lesser General Public License as published by
7the Free Software Foundation; either version 3 of the License, or (at your
8option) any later version.
9
10The GNU MP Library is distributed in the hope that it will be useful, but
11WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
13License for more details.
14
15You should have received a copy of the GNU Lesser General Public License
16along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
17
18
19
20
21This directory contains all code for the mpn layer of GMP.
22
23Most subdirectories contain machine-dependent code, written in assembly or C.
24The `generic' subdirectory contains default code, used when there is no
25machine-dependent replacement for a particular machine.
26
27There is one subdirectory for each ISA family.  Note that e.g., 32-bit SPARC
28and 64-bit SPARC are very different ISA's, and thus cannot share any code.
29
30A particular compile will only use code from one subdirectory, and the
31`generic' subdirectory.  The ISA-specific subdirectories contain hierachies of
32directories for various architecture variants and implementations; the
33top-most level contains code that runs correctly on all variants.
34