Developer Guide and Reference

Contents

Overview: Tuning Performance

This section describes several programming guidelines that can help you improve the performance of floating-point applications:
  • Avoid exceeding representable ranges during computation; handling these cases can have a performance impact.
  • Use a single-precision type (for example,
    float
    ) unless the extra precision and/or range obtained through
    double
    or
    long double
    is required. Greater precision types increase memory size and bandwidth requirements. See Using Efficient Data Types section.
  • Reduce the impact of
    denormal
    exceptions for all supported architectures.
  • Avoid mixed data type arithmetic expressions.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel m