7.116 -Otime

Performs optimizations to reduce execution time at the expense of a possible increase in image size.

Use this option if execution time is more critical than code size. If required, you can compile the time-critical parts of your code with -Otime, and the rest with -Ospace.

Default

If you do not specify -Otime, the compiler assumes -Ospace.

Examples

When the -Otime option is selected, the compiler compiles:
while (expression) body;
as:
if (expression)
{
    do body;
    while (expression);
}
Related reference
7.107 --multifile, --no_multifile
7.111 -Onum
7.115 -Ospace
9.87 #pragma Onum
9.89 #pragma Ospace
9.90 #pragma Otime
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.