Overview: Tuning Performance
- 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 throughdoubleorlong doubleis required. Greater precision types increase memory size and bandwidth requirements. See Using Efficient Data Types section.
- Reduce the impact ofdenormalexceptions for all supported architectures.
- Avoid mixed data type arithmetic expressions.