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.

如何优化5505的程序,让计算时间缩短

Other Parts Discussed in Thread: TMS320C5505

在用TMS320C5505芯片做计算,目的是将一个32个数的数组中的数与另外一个数相乘,放到另外一个数组相应位中,比如A[0]与x相乘放到B[31]中,A[1]与x相乘放到B[30]中,依次进行。最后因为B数组是一个Uint16类型的数组,会将其两两拼接成一个Uint32的16个数的数组。但是这个过程耗时非常长,需要8微秒,不知道有没有什么操作,可以让时间缩短,现在几乎是期望时间的三倍。下面是我的程序,用了3个for循环,不知道是哪里时间用的太长了。希望大神能指教一下。