libdsfmt-2.1 based on the official release of dSMFT-src-2.1

Copyright (C) 2007, 2008  Adam Piątyszek <ediap@users.sourceforge.net>

The (modified) BSD License is applied to this software, see LICENSE.txt

============================================================================

This software provides a GNU like library package that includes the official
dSMFT double precision SIMD oriented Fast Mersenne Twister random number
generator.

The library can be used only on systems which support IEEE754 floating point
arithmetic.

The generic installation procedure is described in the INSTALL file.
However, to obtain a maximum performance and gain from SSE2 or AltiVec CPU
extensions you should set CFLAGS environment variable to some CPU-specific
optimisation options of your compiler and use `--enable-sse2' or
`--enable-altivec' configure switches. For instance, configuration of the
library for Pentium-M architecture using GCC 4.x.x compiler can be done as
follows:

  % export CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer"
  % ./configure --enable-sse2

The target generator can be configured to use various periods of the
generated sequence. The period of the sequence is defined as 2^MEXP-1, where
MEXP can be set to: 521, 1279, 2203, 4253, 11213, 19937, 44497, 86243,
132049 or 216091. The default setting is 19937. To change the default period
of the generator sequence `--with-mexp=VALUE' option should be used, e.g.:

 % ./configure --enable-sse2 --with-mexp=1279 \
     CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer"

In order to use the library, the "dSFMT.h" header file should be included in
your programs. This header file is installed in "/usr/local/include"
directory by default.

Since release 2.0, a pkg-config's configuration file "libdsfmt.pc" is
provided and installed in "${libdir}/pkgconfig" directory, which is
"/usr/local/lib/pkgconfig" by default. In order to compile and link your
programs with libdsfmt library, you might use the pkg-config program as
follows:

 % gcc `pkg-config /usr/local/lib/pkgconfig/libdsfmt.pc --cflags` \
     test_prog.c -o test_prog \
     `pkg-config /usr/local/lib/pkgconfig/libdsfmt.pc --libs`

