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.

[参考译文] CCS:TMS320C6000内在函数成本太高

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/884012/ccs-tms320c6000-intrinsic-cost-too-much-cycles

工具/软件:Code Composer Studio

尊敬的 TI:

我使用代码"psdk_rtos_auto_j7_06_02_00_21/tiadalg/tiadalg_image_preprocessing/alG/tiadalg_image_preprocessing_c66.c"

我使用 CCS 在 C66内核进行调试

实际上,此代码使用_mem8、_loll 和_hill 内在函数

每条指令的成本将超过600个周期

例如、"* dst_ptr_r_u8++=(uint8_t)(_loll (u64temp1)>> 24);"将花费600多个周期

我认为它非常慢、并且花费了太多的周期

这是否由禁用预取引起?

如果是,您能告诉我如何启用预取

你可以给我任何建议吗?

非常感谢

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

    您好、Haibo、

    抱歉、这个线被卡在错误的桶中、我们没有注意到。

    如果此问题仍然存在、或者您已在这方面取得进展、您能评论一下吗?

    此致

    Karthik