AMD Math Library (LibM)
AMD LibM is a software library containing a collection of basic math functions optimized for x86-64 processor based machines. It provides many routines from the list of standard C99 math functions.
AMD LibM is a C library, which users can link in to their applications to replace compiler-provided math functions. Generally, programmers access basic math functions through their compiler. But those who want better accuracy or performance than their compiler’s math functions can use this library to help improve their applications.
Highlights of AMD LibM 3.2
- Dynamic dispatch mechanism to automatically select the SSE2/FMA3 (on supporting platforms) code path for the pow() and powf() math functions
- No FMA4 instructions run in the Zen architecture as FMA4 instructions are phased out in the Zen core architecture
The package containing AMD LibM Library binaries, examples and documentation are available in the Downloads section below.