AUTOSCALER for C: An optimizing floating-point to integer C program converter for fixed-point digital signal processors

被引:50
作者
Kum, KI [1 ]
Kang, JY [1 ]
Sung, WY [1 ]
机构
[1] Seoul Natl Univ, Sch Elect Engn, Seoul 151742, South Korea
来源
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-ANALOG AND DIGITAL SIGNAL PROCESSING | 2000年 / 47卷 / 09期
关键词
C language; code optimization; digital signal processors; fixed-point arithmetic; scaling; word-length;
D O I
10.1109/82.868453
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
A translator which converts C-based floating-point digital signal processing programs to optimized integer C versions is developed for convenient programming and efficient use of fixed-point digital signal processors (DSPs), It not only converts data types and supports automatic scaling, but also conducts shift optimization to enhance execution speed. Since the input and output of this translator are ANSI C compliant programs, it can be used for any fixed-point DSP that supports ANSI C compiler. The number of shift operations that are required for scaling in the converted integer programs is reduced by equalizing the integer word-lengths of relevant variables and constants. For an optimal reduction, a cost function that represents the overhead of scaling is formulated by considering the data- path of a target processor, program parsing, and profiling results. This cost function is then minimized by using either integer linear programming or simulated annealing algorithms. The translated integer C codes are 5-400 times faster than the floating-point versions when applied to TMS320C50, TMS320C60 and Motorola 56000 DSPs.
引用
收藏
页码:840 / 848
页数:9
相关论文
共 22 条
[1]  
BAUDENDISTEL K, 1994, THESIS GEORGIA I TEC
[2]  
*BERK DES TECHN IN, 1994, BUYERS GUID DSP PROC
[3]  
GARDNER W, 1993, QCELP VARIABLE RATE
[4]  
Jackson L. B., 1970, Bell System Technical Journal, V49, P159
[5]  
KANG J, 1995, P 29 ANN AS C SIGN S, V2, P816
[6]   Fixed-point optimization utility for C and C++ based digital signal processing programs [J].
Kim, S ;
Kum, KI ;
Sung, W .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 1998, 45 (11) :1455-1464
[7]  
KIM S, 1995, P 1995 IEEE WORKSH V, P197
[8]   A FLOATING-POINT TO FIXED-POINT ASSEMBLY PROGRAM TRANSLATOR FOR THE TMS-320C25 [J].
KIM, SY ;
SUNG, WY .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 1994, 41 (11) :730-739
[9]   OPTIMIZATION BY SIMULATED ANNEALING [J].
KIRKPATRICK, S ;
GELATT, CD ;
VECCHI, MP .
SCIENCE, 1983, 220 (4598) :671-680
[10]  
KNAG J, 1997, P ICASSP 97 APR, P707