• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

DSP Code Optimization Techniques with Consideration in both Computational Resources and Memory Access

Research Project

Project/Area Number 13650398
Research Category

Grant-in-Aid for Scientific Research (C)

Allocation TypeSingle-year Grants
Section一般
Research Field 情報通信工学
Research InstitutionTokyo Institute of Technology

Principal Investigator

SUGINO Nobuhiko  Tokyo Institute of Technology, Department of Advanced Applied Electronics, Associate Professor, 大学院・総合理工学研究科, 助教授 (60242286)

Co-Investigator(Kenkyū-buntansha) NISHIHARA Akinori  Tokyo Institute of Technology, Center for Research and Development of Educational Technology, Professor, 教育工学開発センター, 教授 (90114884)
Project Period (FY) 2001 – 2002
Project Status Completed (Fiscal Year 2002)
Budget Amount *help
¥1,500,000 (Direct Cost: ¥1,500,000)
Fiscal Year 2002: ¥1,500,000 (Direct Cost: ¥1,500,000)
KeywordsDigital Signal Processor / Compiler / Indirect Addressing / Post Auto-Modification Operation / Computational Order Scheduling / 自動コード生成 / 先行制約スケジューリング / スピル処理 / レジスタ割当 / コード最適化 / 関節アドレッシング / メモリアドレス配置
Research Abstract

An indirect addressing digital signal processors (hereafter DSP) with auto-modification is assumed, a new code optimization technique is proposed, where memory allocation phase is intensively coupled with a computational ordering phase.
In general, software development for DSP is highly cost consuming, so that powerful programming tools such as high-level language compiler is strongly desired. High performance in generated program codes is usually achieved by effective use of arithmetic units and registers. In most of DSPs, however, memory addressing modes are simplified and efficient memory access becomes another key to achieve high code performance.
In this research project, a DSP with indirect addressing with auto-modification is assumed, and its compiler has such structure that computational order is rearranged in intermediate code of sub-instruction level according to the derived arithmetic register assignment and memory allocation. The compiler first counts usage of each variable in the data flow graph (hereafter DFG) of a given program, and selects program variables to be spilled. For the derived DFG, the number of overhead codes is evaluated by code generation followed by memory allocation. Then for the commutative arithmetic operations with memory access, the number of overhead codes is evaluated for all the alternative computational orders, and finally, the code with least overhead code is taken as the result.
The proposed code optimization technique is applied to the existing compiler for mPD77230, which has similar memory addressing. Codes generated by the compiler for several examples includes less overhead codes associated with memory access than those derived by conventional compilers, and hence shows the effectiveness of the proposed code optimization technique.

Report

(3 results)
  • 2002 Annual Research Report   Final Research Report Summary
  • 2001 Annual Research Report
  • Research Products

    (9 results)

All Other

All Publications (9 results)

  • [Publications] 宮原 健, 金子 雄平, 杉野暢彦, 西原明法: "計算順序とメモリアクセスを同時に考慮したDSPコード効率化"電子情報通信学会 技術研究報告. DSP2002-36. 35-40 (2002)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2002 Final Research Report Summary
  • [Publications] Y.Kaneko, N.Sugino, A.Nishihara: "Memory Allocation Method for Indirect Addressing with an Index Register"Proceedings of Asia-Pacific Conference on Circuits and Systems. I. 199-202 (2002)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2002 Final Research Report Summary
  • [Publications] 金子雄平, 杉野暢彦, 西原明法: "インデックス修飾更新に有効なアドレス配置手法"第17回ディジタル信号処理シンポジウム講演論文集. (CD ROM). B2-2 (2002)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2002 Final Research Report Summary
  • [Publications] K. Miyahara, Y. Kaneko, N. Sugino, and A. Nishihara: "DSP Code Optimization Technique with Consideration in both Computational Ordering and Memory Access"Technical Report of IEICE. DSP02-36. 35-40 (2002)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2002 Final Research Report Summary
  • [Publications] Y. Kaneko, N. Sugino, and A. Nishihara: "Memory Allocation Method for Indirect Addressing with an Index Register"Proceedings of Asia-Pacific Conference on Circuits and Systems. I. 199-202 (2002)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2002 Final Research Report Summary
  • [Publications] Y. Kaneko, N. Sugino, and A. Nishihara: "Optimization of Memory Addressing with an Index Register"Proceedings of 17th Digital Signal Processing Symposium. B2-2 (CD-ROM). (2002)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2002 Final Research Report Summary
  • [Publications] 宮原 健, 金子 雄平, 杉野 暢彦, 西原明法: "計算順序とメモリアクセスを同時に考慮したDSPコード効率化"電子情報通信学会技術研究報告. DSP2002-36. 35-40 (2002)

    • Related Report
      2002 Annual Research Report
  • [Publications] Y.Kaneko, N.Sugino, A.Nishihara: "Memory Allocation Method for Indirect Addressing with an Index Register"Proceedings of Asia-Pacific Conference on Circuits and Systems. I. 199-202 (2002)

    • Related Report
      2002 Annual Research Report
  • [Publications] 金子雄平, 杉野暢彦, 西原明法: "インデックス修飾更新に有効なアドレス配置手法"第17回ディジタル信号処理シンポジウム講演論文集. (CDROM). B2-2 (2002)

    • Related Report
      2002 Annual Research Report

URL: 

Published: 2002-04-01   Modified: 2016-04-21  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi