This option enables the compiler to optimize specific known library functions to reduce execution time. The Compiler frequently uses small functions such as strcpy(), strcmp(), and so forth. Use this panel to configure the optimize library function options for the HCS08 compiler.
The following table lists and describes Optimize Library Function options for HC(S)08 compiler.
| Option | Description |
|---|---|
| Apply all optimizations (-OiLib) | This option applies all the optimizations. |
| shifts left of 1 (-OiLib=g) | This option replace shifts left of 1 by array lookup. |
| memcpy (-OiLib=f) | This option inline calls to the memcpy() function. |
| memset (-OiLib=e) | This option inline calls to the memset() function. |
| fabs/fabsf (-OiLib=d) | This option inline calls to the fabs() or fabsf() functions. |
| strlen (-OiLib=b) | This option inline calls to the strlen() function. |