summaryrefslogtreecommitdiff
path: root/ghc/rts/gmp/mpn
diff options
context:
space:
mode:
authorsimonm <unknown>1998-06-05 14:37:48 +0000
committersimonm <unknown>1998-06-05 14:37:48 +0000
commit8a6506b69ab4a022c6feab4e572029ef39d96ec9 (patch)
tree34adf723185a74cac2aea72572ea99eeea29b934 /ghc/rts/gmp/mpn
parentf633f1a897affa69cc162761c9adc12691f0ce54 (diff)
downloadhaskell-8a6506b69ab4a022c6feab4e572029ef39d96ec9.tar.gz
[project @ 1998-06-05 14:37:48 by simonm]
Import GMP 2.0.2
Diffstat (limited to 'ghc/rts/gmp/mpn')
-rw-r--r--ghc/rts/gmp/mpn/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/ghc/rts/gmp/mpn/README b/ghc/rts/gmp/mpn/README
new file mode 100644
index 0000000000..3da559e509
--- /dev/null
+++ b/ghc/rts/gmp/mpn/README
@@ -0,0 +1,15 @@
+This directory contains all code for the mpn layer of GMP.
+
+Most subdirectories contain machine-dependent code, written in assembly or
+C. The `generic' subdirectory contains default code, used when there is no
+machine-dependent replacement for a particular machine.
+
+There is one subdirectory for each architecture. Note that e.g., 32-bit
+sparc and 64-bit sparc cannot share any code, and are therefore considered
+completely different architecture.
+
+A particular machine will only use code from one such subdirectory, and the
+`generic' subdirectory. The architecture-specific subdirectory contains a
+hierachy of directories for various architecture variants and
+implementations; the top-most level contains code that runs correctly on all
+variants.