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.

DSP 静态库问题

现在有一c64x+源代码,现在想重新编译成C67系列库文件,供6727使用,源代码中含有相应的内联指令(有些内联指令无法找到),有哪些方式?CCS中有没有什么交叉编译工具能够使用?直接新建静态库工程可以吗?

  • user5282572 说:
    源代码中含有相应的内联指令(有些内联指令无法找到)

    内联指令就是对应的汇编指令,C64+的某些定点指令是C67+不支持的,所以无法做到兼容。

    user5282572 说:
    有哪些方式?CCS中有没有什么交叉编译工具能够使用?直接新建静态库工程可以吗?

    没有这种交叉工具,只能重写。

  • c67x rts.lib里有c67x支持的内联指令,把c64x rts库改成c67x rts库。

    c67x支持的内联指令在编译器手册上有列出。

    Table 7-5. TMS320C6400+ and C6740 C/C++ Compiler Intrinsics

    Table 7-6. TMS320C6700 C/C++ Compiler Intrinsics
    http://www.ti.com/lit/ug/spru187o/spru187o.pdf