‑‑use_optimized_variants
Syntax
‑‑use_optimized_variants={no|auto|small|fast}Parameters
| Always uses the default variant with standard optimizations. |
| Uses variants based on AEABI attributes that indicate the requested optimization goal: If a module is compiled with If all modules referencing a function are compiled with This is the default behavior of the linker. |
| Always uses a small variant (balances code size and execution speed, favoring size) if there is one in the DLIB library. |
| Always uses a fast variant (maximum execution speed) if there is one in the DLIB library. |
Description
Use this option to control the use of optimized variants of some DLIB library functions. (Some DLIB libraries delivered with the product contain optimized variants, such as a small integer division routing for Cortex-M0, or a fast strcpy implementation for cores that support the Thumb-2 ISA architecture.)
To see which variants that this option selected, inspect the list of redirects in the linker map file.
Caution
To set this option, use Project>Options>Linker>Extra Options.