A dataflow analysis for mode set optimization in DSP instruction sets

被引:0
|
作者
Chu, Jiho [1 ]
Han, Youngsun [1 ]
Kim, Seon Wook [1 ]
机构
[1] Korea Univ, Dept Elect Engn, Compiler & Embedded Syst Lab, Seoul 136701, South Korea
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A digital signal processor (DSP) has a specific architecture to process multimedia data very fast, but its complexity makes it difficult that a compiler generates highly optimized codes. A mode set problem is one of these difficulties. A mode set in DSP architectures provides extended functionalities to an instruction. The instruction performs differently depending on the mode set. In this paper we propose a code optimization technique to eliminate redundant mode set instructions. For our purpose, we introduce a dataflow analysis for the mode set optimization based on a control flow graph. The proposed algorithm guarantees that the dynamic number of mode set instructions is minimal. As an experiment, we applied our algorithm to a sign extension mode (SXM) in the Zaram compactDSP16 architecture, and we could eliminate redundant mode set instructions by 50% on average and up to 93% in our measured benchmarks.
引用
收藏
页码:775 / 780
页数:6
相关论文
共 50 条