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.

[参考译文] TMS320F28388D:CLA 的内联代码

Guru**** 2418210 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1540539/tms320f28388d-inline-code-with-the-cla

器件型号:TMS320F28388D

工具/软件:

如果我将 CLA 函数定义为:

static inline __attribute__((always_inline)) void MyFunction(void)
{
code here
}

will the CLA compiler recognize this and inline the function?

Thanks in advance for any insight.
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Andrew、

    根据 C28x 编译器指南、我相信编译器会识别它。

    您也可以逐步完成反汇编、看看是否有任何分支指令正在执行。

    此致、

    Delaney