So far the build mechanism in newlib only allowed to either define
machine-specific headers, or headers shared between all machines.
In some cases, architectures are sufficiently alike to share header
files between them, but not with other architectures. A good example
is ix86 vs. x86_64, which share certain traits with each other, but
not with other architectures.
Introduce a new configure variable called "shared_machine_dir". This
dir can then be used for headers shared between architectures.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This directory was an experiment to use floating-point operations to implement
the math library when a processor had a floating-point instruction set. The
experiment was a failure in that some of the algorithms chosen (e.g. recursive
algorithms for sin/cos, etc..) are too simple and do not provide proper accuracy
nor handle very large or very small inputs adequately.
The code is considered moth-balled. The stable math library routines can be
found in libm/math and the configuration option to use this has been removed.
If you wish to experiment with the concept, please feel free and report back if
you have major improvements.