diff options
Diffstat (limited to 'mpi')
-rw-r--r-- | mpi/ChangeLog | 6 | ||||
-rw-r--r-- | mpi/config.links | 11 | ||||
-rw-r--r-- | mpi/generic/distfiles | 1 | ||||
-rw-r--r-- | mpi/generic/mpi-asm-defs.h | 9 | ||||
-rw-r--r-- | mpi/mips3/distfiles | 1 | ||||
-rw-r--r-- | mpi/mips3/mpi-asm-defs.h | 10 |
6 files changed, 38 insertions, 0 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog index 97ae3cd22..64b0b3867 100644 --- a/mpi/ChangeLog +++ b/mpi/ChangeLog @@ -1,3 +1,9 @@ +2000-10-11 Werner Koch <[email protected]> + + * generic/mpi-asm-defs.h: New. + * mips3/mpi-asm-defs.h: New. + * config.links: Create a link to one of the above files. + Fri Jul 28 18:19:11 CEST 2000 Werner Koch <[email protected]> * mpicoder.c (gcry_mpi_scan): Normalize the returned MPI. diff --git a/mpi/config.links b/mpi/config.links index 6f6b276da..2a261ed3e 100644 --- a/mpi/config.links +++ b/mpi/config.links @@ -278,3 +278,14 @@ for fn in $mpi_ln_modules ; do done done +# Same thing for the file which defines the limb size +path="$path generic" +for dir in $path ; do + rm -f $srcdir/mpi/mpi-asm-defs.h + if test -f $srcdir/mpi/$dir/mpi-asm-defs.h ; then + mpi_ln_src="$mpi_ln_src mpi/$dir/mpi-asm-defs.h" + mpi_ln_dst="$mpi_ln_dst mpi/mpi-asm-defs.h" + break; + fi +done + diff --git a/mpi/generic/distfiles b/mpi/generic/distfiles index 0bf4600fb..649e829b7 100644 --- a/mpi/generic/distfiles +++ b/mpi/generic/distfiles @@ -6,4 +6,5 @@ mpih-lshift.c mpih-rshift.c mpih-sub1.c udiv-w-sdiv.c +mpi-asm-defs.h diff --git a/mpi/generic/mpi-asm-defs.h b/mpi/generic/mpi-asm-defs.h new file mode 100644 index 000000000..c25f966a9 --- /dev/null +++ b/mpi/generic/mpi-asm-defs.h @@ -0,0 +1,9 @@ +/* This file defines some basic constants for the MPI machinery. We + * need to define the types on a per-CPU basis, so it is done with + * this file here. */ +#define BYTES_PER_MPI_LIMB (sizeof unsigned long) + + + + + diff --git a/mpi/mips3/distfiles b/mpi/mips3/distfiles index b88f4f869..85260fc8e 100644 --- a/mpi/mips3/distfiles +++ b/mpi/mips3/distfiles @@ -6,4 +6,5 @@ mpih-mul2.S mpih-mul3.S mpih-lshift.S mpih-rshift.S +mpi-asm-defs.h diff --git a/mpi/mips3/mpi-asm-defs.h b/mpi/mips3/mpi-asm-defs.h new file mode 100644 index 000000000..2d9a9c1f2 --- /dev/null +++ b/mpi/mips3/mpi-asm-defs.h @@ -0,0 +1,10 @@ +/* This file defines some basic constants for the MPI machinery. We + * need to define the types on a per-CPU basis, so it is done with + * this file here. */ +#define BYTES_PER_MPI_LIMB 8 + + + + + + |