Optimized math routines - libamath
libamath library in the
/opt/arm/<armpl_dir>/lib directory contains optimized versions of some libm functions.
To provide an enhanced performance using optimized functions by default, before Arm Compiler links to the
libm library, the compiler automatically links to the
libamath library. You do not have to supply any specific compiler options to initiate this behavior.
libamath with the GCC compiler, you must explicitly link to the
libamath library before linking to
libm. For example:
gcc code_with_math_routines.c -lamath -lm
gfortran code_with_math_routines.f -lamath -lm