ARM Technical Support Knowledge Articles

INLINE EXPANSION OF LIBRARY FUNCTIONS

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

The C166 Compiler User's Guide lists intrinsic functions that are expanded inline.

I have noticed that the strcpy function also generates inline code.

Which library functions are expanded inline and is there a way to disable the inline expansion?

ANSWER

The intrinsic library functions (those in intrins.h) are always expanded inline as documented.

Additionally, the following library routines are expanded inline for near function calls:

There is no way to disable inline expansion. However, you may choose a memory model that uses far function calls and library functions (other than those in intrins.h) that are not expanded inline.

MORE INFORMATION

Article last edited on: 2005-07-15 13:12:22

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential