This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM57L843: Intrinsics for RM57L843 in CCS

Part Number: RM57L843

Hello,

I want to know available intrinsic functions for RM57L843 device in CCS and in which header files are they available.

And by using intrinsic functions will the performance increase in terms of timing for mathematical operations?

I'm using TI v20.2.2.LTS compiler and CCS 9.3.0 .

Thanks,

Shantanu S.

  • Hello,

    Please see the details of the intrinsic functions supported by TI v20.2.2.LTS compiler.

  • Hello,

    Thanks for the reply, but I also want to know that will using intrinsic functions instead of mathematical operators improve my code execution time.

    Thanks.

  • The implementation of an intrinsic function is handled by the compiler, which substitutes a sequence of instructions for the function call. This is similar to the way inline function are handled, however, because the compiler knows the code of the intrinsic function, it can perform better optimization.

    The intrinsic operations look like function calls, and can be implemented very efficiently with the target's instruction set. The compiler automatically inlines the intrinsic operators of the target system by default. Inlining happens whether or not you use the optimizer. 

    The intrinsic functions can produce instructions that cannot be generated by C. Using intrinsic functions can improve the software reusability and portability. For example some CMSIS intrinsic DSP functions.

    Using intrinsic functions, we can directly access assembly instructions in C code. This is often necessary in low-level system control or when you need to implement a timing critical routine and decide to implement it in assembly for the best performance.