• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Arm Optimized Routines
2----------------------
3
4This repository contains implementations of math library functions
5provided by Arm under MIT License (See LICENSE). Contributions
6to this project are accepted, but the terms will need negotiation (so
7relicensing and copyright assignment to the FSF is possible later).
8
9Source code layout:
10
11auxiliary/      - design tools.
12build/          - build directory (created by make).
13math/           - math library source.
14math/include/   - math library public headers.
15math/single/    - code for cpu with only single precision support.
16test/           - test related source.
17test/rtest/     - test generator (requires mpfr and mpc).
18test/testcases/ - test cases.
19
20The steps to build the library and run the tests:
21
22cp config.mk.dist config.mk
23# edit config.mk if necessary ...
24make
25make check
26
27Or building outside of the source directory:
28
29ln -s path/to/src/Makefile Makefile
30cp path/to/src/config.mk.dist config.mk
31echo 'srcdir = path/to/src' >> config.mk
32# further edits to config.mk
33make
34make check
35
36The test system requires libmpfr and libmpc.
37
38For cross build, CROSS_COMPILE should be set in config.mk and EMULATOR
39should be set for cross testing (e.g. using qemu-user or remote access
40to a target machine), see the examples in config.mk.dist.
41
42The script "remez.jl" was used to generate some of the coefficients
43(see comments in the code).
44