C compiler in DM642 can compile and convert C language program into C6000 DSP assemble language automatically. Therefore) the developers can realize preliminary design of DSP software by using the advanced language directly and the cycle of the development can be shortened. Since the C language program for DSP is a real-time process for few data points, the C code must be optimized to meet the real-time requirement. The optimization process of the C code in DM642 is described with an example of JPEG in TMS320DM642.%DM642中的C编译器可以将C语言程序自动编译转化为C6000 DSP汇编程序,这样开发者就可以直接利用高级语言实现DSP软件的初步设计,缩短开发周期.但面向DSP的C语言程序是针对极少数据点的实时处理过程,因而需要对C代码进行优化,以满足实时性.在此以一个图像压缩算法JPEG在TMS320DM642中的实现为例,简要说明C代码在DM642中的优化过程.
展开▼