Archived

This topic is now archived and is closed to further replies.

Inline functions

This topic is 6366 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When using "inline" with VectorC, it is the "intermediate representation" of the inline function that is copied into your new (calling) function. Then the optimizer is applied to the result. This means that inline functions are very similar to macros - except that arguments are guaranteed to be evaluated only once.

This means that separate inline calls can be vectorized in parallel.

Andrew Richards
CodePlay - http://www.codeplay.com

Share this post


Link to post
Share on other sites