作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (17): 276-279,283. doi: 10.3969/j.issn.1000-3428.2012.17.074

• 开发研究与设计技术 • 上一篇    下一篇

基于C6000的数据存储处理编程优化方法

苑玮琦,王 斌   

  1. (沈阳工业大学视觉检测技术研究所,沈阳 110870)
  • 收稿日期:2011-10-17 修回日期:2011-12-20 出版日期:2012-09-05 发布日期:2012-09-03
  • 作者简介:苑玮琦(1960-),男,教授、博士后、博士生导师,主研方向:应用机器视觉,嵌入式图像采集与处理;王 斌,硕士研究生
  • 基金资助:
    国家自然科学基金资助项目(60972123);沈阳市科技计划基金资助项目(F10-213-1-00)

Programming Optimization Method in Data Storage Processing Based on C6000

YUAN Wei-qi, WANG Bin   

  1. (Institute of Vision Detection Technology, Shenyang University of Technology, Shenyang 110870, China)
  • Received:2011-10-17 Revised:2011-12-20 Online:2012-09-05 Published:2012-09-03

摘要: 针对TI TMS320C6000系列数字信号处理器容易忽视的CPU指令并行、软件流水特点和编译器内联函数、线性汇编及汇编语言的高速运行特点,给出常见的指令存储器相关性问题、循环冗余问题、嵌套循环的流水性能问题和程序存储块冲突问题的分析与优化解决方法。以定点点积算法进行参照实验,结果证明代码运行速度在进行相应C程序编程优化、线性汇编编程优化和手工汇编编程优化后最高分别可以提高85.9%、86.4%和93.1%。

关键词: 数字信号处理器, 编程优化, 指令并行, 软件流水, 线性汇编, 数据存储

Abstract: Using traditional programming methods on the TMS320C6000 Digital Signal Processor(DSP) may omit the advantages of parallel instructions, software pipelining and the high-speed performance of intrinsics, linear assembly language and assembly language, so the analysis and solving methods of common problems of instruction storage correlation, circulation abundance, the performance of nested loop and interleaved memory conflicting are provided. The reference experience with fixed-point dot product programs shows that the code running speed can be separately increased by 85.9%, 86.4% and 93.1% after optimized by optimization methods of C programming, linear assembly programming and hand assembly programming.

Key words: Digital Signal Processor(DSP), programming optimization, instruction parallel, software pipelining, linear assembly, data storage

中图分类号: