Intel-optimized LIBM

With the -lm option, standard math library functions ( exp, log, sin, cos, etc.) originate from the standard C math library. These are implemented using emulation of the basic floating-point operations such as addition, subtraction, or multiplication.

As an alternative, with the -limf -lm options, an additional library named libimf.a is linked in as well containing functions optimized for better performance and accuracy, and smaller code size on Intel MCUs. These functions will then be used in place of their standard C math library equivalent versions.

Only some of the most frequently used single precision functions are included at this time. For this release, the optimized functions are listed below.

Optimization Notice

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804

For more complete information about compiler optimizations, see our Optimization Notice.