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

兼顾计算资源和内存访问的 DSP 代码优化技术

基本信息

  • 批准号:
    13650398
  • 负责人:
  • 金额:
    $ 0.96万
  • 依托单位:
  • 依托单位国家:
    日本
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
  • 财政年份:
    2001
  • 资助国家:
    日本
  • 起止时间:
    2001 至 2002
  • 项目状态:
    已结题

项目摘要

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.
以具有自修改功能的间接寻址数字信号处理器为例,提出了一种新的编码优化技术,该技术将内存分配阶段与计算排序阶段紧密耦合。一般来说,DSP软件开发成本较高,因此迫切需要高级语言编译器等功能强大的编程工具。生成的程序代码的高性能通常是通过有效地使用算术单元和寄存器来实现的。然而,在大多数dsp中,内存寻址模式被简化,高效的内存访问成为实现高代码性能的另一个关键。本研究假设了一种具有自修改间接寻址功能的DSP,其编译器的结构是根据派生的算术寄存器分配和内存分配,在子指令级的中间码中重新排列计算顺序。编译器首先计算给定程序的数据流图(以下简称DFG)中每个变量的使用情况,然后选择要溢出的程序变量。对于派生的DFG,开销代码的数量是通过代码生成和内存分配来计算的。然后,对于具有内存访问的交换算术运算,计算所有可选计算阶数的开销代码数,最后取开销代码最少的代码作为结果。将所提出的代码优化技术应用于具有类似内存寻址的mPD77230现有编译器。在几个示例中,由编译器生成的代码比传统编译器派生的代码包含更少的与内存访问相关的开销代码,因此显示了所提出的代码优化技术的有效性。

项目成果

期刊论文数量(9)
专著数量(0)
科研奖励数量(0)
会议论文数量(0)
专利数量(0)
金子雄平, 杉野暢彦, 西原明法: "インデックス修飾更新に有効なアドレス配置手法"第17回ディジタル信号処理シンポジウム講演論文集. (CD ROM). B2-2 (2002)
Yuhei Kaneko、Nobuhiko Sugino、Akiho Nishihara:“索引修改更新的有效地址分配方法”第 17 届数字信号处理研讨会论文集(CD ROM)。
  • DOI:
  • 发表时间:
  • 期刊:
  • 影响因子:
    0
  • 作者:
  • 通讯作者:
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)
Y.Kaneko、N.Sugino、A.Nishihara:“使用索引寄存器间接寻址的内存分配方法”亚太电路与系统会议论文集。
  • DOI:
  • 发表时间:
  • 期刊:
  • 影响因子:
    0
  • 作者:
  • 通讯作者:
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)
Y. Kaneko、N. Sugino 和 A. Nishihara:“使用索引寄存器间接寻址的内存分配方法”亚太电路与系统会议论文集。
  • DOI:
  • 发表时间:
  • 期刊:
  • 影响因子:
    0
  • 作者:
  • 通讯作者:
金子雄平, 杉野暢彦, 西原明法: "インデックス修飾更新に有効なアドレス配置手法"第17回ディジタル信号処理シンポジウム講演論文集. (CDROM). B2-2 (2002)
Yuhei Kaneko、Nobuhiko Sugino、Akiho Nishihara:“索引修改更新的有效地址分配方法”第 17 届数字信号处理研讨会论文集(CDROM)。
  • DOI:
  • 发表时间:
  • 期刊:
  • 影响因子:
    0
  • 作者:
  • 通讯作者:
宮原 健, 金子 雄平, 杉野暢彦, 西原明法: "計算順序とメモリアクセスを同時に考慮したDSPコード効率化"電子情報通信学会 技術研究報告. DSP2002-36. 35-40 (2002)
Ken Miyahara、Yuhei Kaneko、Nobuhiko Sugino、Akiho Nishihara:“通过同时考虑计算顺序和存储器访问来提高 DSP 代码效率”IEICE 技术研究报告 35-40 (2002)。
  • DOI:
  • 发表时间:
  • 期刊:
  • 影响因子:
    0
  • 作者:
  • 通讯作者:
{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

数据更新时间:{{ journalArticles.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ monograph.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ sciAawards.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ conferencePapers.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ patent.updateTime }}

SUGINO Nobuhiko其他文献

SUGINO Nobuhiko的其他文献

{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

相似海外基金

CAREER: Compiler and Runtime Support for Sampled Sparse Computations on Heterogeneous Systems
职业:异构系统上采样稀疏计算的编译器和运行时支持
  • 批准号:
    2338144
  • 财政年份:
    2024
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Continuing Grant
CAREER: An Agile Compiler Framework for Spatial Dataflow Accelerators
职业:空间数据流加速器的敏捷编译器框架
  • 批准号:
    2338739
  • 财政年份:
    2024
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Continuing Grant
Modernise Compiler Technology With Deep Learning
通过深度学习实现编译器技术现代化
  • 批准号:
    EP/X018202/1
  • 财政年份:
    2023
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Research Grant
CAREER: An Automated Compiler-Runtime Framework for Democratizing Secure Collaborative Computation
职业:用于民主化安全协作计算的自动编译器运行时框架
  • 批准号:
    2238671
  • 财政年份:
    2023
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Continuing Grant
State of the Railway Compiler Data Solution (SORC-lite): open access real-time signalling data.
铁路状况编译器数据解决方案 (SORC-lite):开放访问实时信令数据。
  • 批准号:
    10038973
  • 财政年份:
    2022
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Collaborative R&D
CAREER: A Unified Compiler for Sparse Array Operations and Relational Algebra
职业:稀疏数组运算和关系代数的统一编译器
  • 批准号:
    2143061
  • 财政年份:
    2022
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Continuing Grant
Collaborative Research: SaTC: CORE: Medium: Compiler-Assisted Embedded Security
协作研究:SaTC:核心:中:编译器辅助嵌入式安全
  • 批准号:
    2154415
  • 财政年份:
    2022
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Standard Grant
Collaborative Research: SaTC: CORE: Medium: Compiler-Assisted Embedded Security
协作研究:SaTC:核心:中:编译器辅助嵌入式安全
  • 批准号:
    2154322
  • 财政年份:
    2022
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Standard Grant
Nominal string diagrams and their application to compiler development
标称字符串图及其在编译器开发中的应用
  • 批准号:
    2741390
  • 财政年份:
    2022
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Studentship
Using graphical structure to develop an optimizing compiler for the Turing probabilistic language
使用图形结构开发图灵概率语言的优化编译器
  • 批准号:
    2751277
  • 财政年份:
    2022
  • 资助金额:
    $ 0.96万
  • 项目类别:
    Studentship
{{ showInfoDetail.title }}

作者:{{ showInfoDetail.author }}

知道了