TMS320C54X DSP汇编程序的几种优化方法  

Some Optimization Methods for TMS320C54X DSP Assembly Language Programs

在线阅读下载全文

作  者:李章林[1] 吴岳[2] 卢桂章[1] 

机构地区:[1]南开大学信息学院机器人所,天津300071 [2]南开大学信息学院通信工程系,天津300071

出  处:《电子器件》2006年第4期1235-1238,共4页Chinese Journal of Electron Devices

摘  要:通过研究TMS320C54X DSP汇编指令的特点及其流水线特性提出了四种优化其汇编程序的方法,它们是“部分循环展开法”、“并行指令使用技术”、“合理利用指针增减的思想”、“AR0作为循环次数法”。其中“部分循环展开法”是消除循环内部多余NOP语句的通用方法;“并行指令使用技术”提出了一种增大并行指令使用几率的通用方法。“合理利用指针增减的思想”是一种提高程序效率的编程思想。对于内层循环次数随着外层循环递增或者递减的二重循环,可用“AR0作为循环次数法”提高其效率。四种方法是从实际工作中抽取出来,具有通用性,其优化思想对其它具有流水线结构的MCU的汇编程序优化也具有一定指导作用。Through analyzing the instructions and pipeline feature of TMS320C54X DSP, we promoted four optimization methods for TMS320C54X DSP assembly language programs, which were "Techniques of Partly Expanding Rotation", "The Techniques about Using Parallel Instructions", "The Proper Utilization of Increase or Decrease Pointers", "Use AR0 as a Rotation Counter", and "Techniques of Partly Expanding Rotation" is a method to avoid redundant NOP instructions in rotations "The Techniques about Using Parallel Instructions" provides a method to increase the probability of using parallel instructions; "The Proper Utilization of Increase or Decrease Pointers" is a way to increase efficiency of programs; "Use AR0 As a Rotation Counter" will be applied to the optimization of two-layer rotations whose inner rotation time increases or decreases with its outer rotation. Four methods were abstracted from practice, and had generalpurpose nature. Its optimization idea may also be helpful for program-optimization of other MCUs with pipeline feature.

关 键 词:DSP 汇编 优化 TMS320C54X 

分 类 号:TP313[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象