Simulated evolution based parallel code generation for programmable DSP processors

被引:0
|
作者
Hwang, YT [1 ]
Hwang, JS [1 ]
机构
[1] Natl Yunlin Univ Sci & Technol, Inst Elect & Informat Engn, Yunlin 640, Taiwan
关键词
code generation; compiler; digital signal processors; instruction scheduling; memory assignment; register allocation; simulated evolution;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Modern digital signal processors are capable of performing multiple pipelined instructions concurrently. However, strict and complicated coding rules must be observed to achieve full performance. These include efficient multi-operands accesses, smart use of data and address registers, and novel instruction scheduling to support parallel execution without pipeline conflicts. In this paper, an iterative code generation scheme based on the framework of simulated evolution is devised. In each iteration, the instruction scheduling derived from the previous iteration is first evaluated. The inferior part is probabilistically discarded and rescheduled. On the other hand, register allocation and memory assignment are also performed iteration-wise subject to the new schedule, and the results are fed back to the next iteration's instruction scheduling. This can effectively solve the mutual dependence problem between the scheduling and allocation phases. The iteration process proceeds until a valid schedule is derived. To make the system retargetable, we have also derived and summarized coding constraints from various digital signal processor architectures. Basic resolutions to these constraints are proposed and have been successfully integrated into our code generation scheme. In our implementation, we chose the TI TMS320C30 as the target processor. The results of eleven tested benchmark programs, covering algorithms from filtering to transform computation, indicate that our scheme can double the performance of TI's complimentary C30/40 optimizing C compiler in terms of code size and can generate very efficient assembly codes.
引用
收藏
页码:139 / 165
页数:27
相关论文
共 50 条
  • [1] Simulated evolution based code generation for programmable DSP processors
    Hwang, YT
    Hwang, JS
    ISCAS '97 - PROCEEDINGS OF 1997 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS I - IV: CIRCUITS AND SYSTEMS IN THE INFORMATION AGE, 1997, : 2593 - 2596
  • [2] Flexible code generation framework for the design of application specific programmable processors
    Charot, Francois
    Messe, Vincent
    Hardware/Software Codesign - Proceedings of the International Workshop, 1999, : 27 - 31
  • [3] A flexible code generation framework for the design of application specific programmable processors
    Charot, F
    Messé, V
    PROCEEDINGS OF THE SEVENTH INTERNATIONAL WORKSHOP ON HARDWARE/SOFTWARE CODESIGN (CODES'99), 1999, : 27 - 31
  • [4] The architectural design of DSP based embedded parallel processors
    Smit, WA
    2002 IEEE AFRICON, VOLS 1 AND 2: ELECTROTECHNOLOGICAL SERVICES FOR AFRICA, 2002, : 323 - 326
  • [5] A Programmable Vision Chip Based on Multiple Levels of Parallel Processors
    Zhang, Wancheng
    Fu, Qiuyu
    Wu, Nan-Jian
    IEEE JOURNAL OF SOLID-STATE CIRCUITS, 2011, 46 (09) : 2132 - 2147
  • [6] Efficient code generation for digital signal processors with parallel and pipelined instructions
    Hwang, YT
    Hwang, JS
    SIPS 97 - 1997 IEEE WORKSHOP ON SIGNAL PROCESSING SYSTEMS: DESIGN AND IMPLEMENTATION, 1997, : 243 - 252
  • [7] Code generation for embedded processors
    Leupers, R
    13TH INTERNATIONAL SYMPOSIUM ON SYSTEM SYNTHESIS, PROCEEDINGS, 2000, : 173 - 178
  • [8] Code generation for core processors
    Marwedel, P
    DESIGN AUTOMATION CONFERENCE - PROCEEDINGS 1997, 1997, : 232 - 237
  • [9] A parallel DSP with memory and I/O processors
    Srini, VP
    Thendean, J
    Ueng, SZ
    Rabaey, JM
    PARALLEL AND DISTRIBUTED METHODS FOR IMAGE PROCESSING II, 1998, 3452 : 2 - 13
  • [10] Dual port memory based parallel programmable architecture for DSP in FPGA
    Zabolotny, Wojciech M.
    PHOTONICS APPLICATIONS IN ASTRONOMY, COMMUNICATIONS, INDUSTRY, AND HIGH-ENERGY PHYSICS EXPERIMENTS 2010, 2010, 7745