Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

What does a file include in loop when optimization = (-Ot)?

Latest Updated:12/01/2011

Question:

In the CA850, a source file including a loop is not expanded normally when optimization = speed-prioritized (-Ot).

Answer:

This results from an attempt to reduce the execution time of this loop for optimization.
When an asm statement is described, optimization is not performed because it is not known how the relevant part is processed.
If you need a certain number of instructions to be executed (for example, when you want processing to wait by using a loop), describe it in assembly language (when described in C language, the effect of optimization may differ depending on future upgrading.)
Suitable Products