TI 6000 Series DSP Optimization Experience[Copy link]
1. First, consider optimizing the system structure, such as minimizing unnecessary movement of data to be processed, and optimizing the system structure based on the amount of storage on your DSP chip and the amount of data processed each time. This part of the optimization should be done first. 2. Secondly, start from the algorithm level to see if the algorithm used has a better and simpler calculation method, whether the algorithm has some kind of symmetry, whether a more appropriate data structure can be used, etc. Optimization in this regard is more obvious than optimization in the program. 3. If there is no better optimization method at the algorithm level for the time being, see if the software structure can be optimized. For example: 1) Can the multi-layer loop structure be reduced in layers? I often see programs like this: for(i = 0; i++; i< A) for(j = 0; j++ j< B) { E[i][j] = C[i][j] - D[i][j]; } This can be optimized to: for(i = 0; i++; i