检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]浙江大学超大规模集成电路设计研究所,浙江杭州310027
出 处:《浙江大学学报(工学版)》2008年第4期553-557,共5页Journal of Zhejiang University:Engineering Science
基 金:国家"863"高技术研究发展计划资助项目(2005AA1Z1271)
摘 要:为了满足专用指令处理器(ASIP)存储器约束和代码执行的实时性要求,提出了一种同时考虑代码选择和寄存器分配的代码综合生成算法,同步处理代码生成的子问题.该算法基于最优化原理,把无环有向图(DAG)的所有节点构造成一个调度矩阵,把寻找代码优化的问题转化成在调度DAG中寻找一条优化路径,大大降低了算法的时间复杂度.并应用算法构造了一个编译器后端,测试表明,该算法能够正确地生成目标代码,和传统的分步优化算法相比,减小了目标代码的空间尺寸,降低了寄存器溢出的几率.A new code-generation algorithm based on dynamic programming was presented to satisfy the register restriction of application specific instruction processor (ASIP) and the real-time requirement from applications. Comparing with traditional code-generation methods, the new algorithm handles code selection and register allocation simultaneously, transforms code-generation problem into finding an optimal road in schedule directed acyclic graph (SDAG). This algorithm was applied to the backend of an ASIP compiler. The results from testing benchmarks show less space-size of generated code and less register spilling than the traditional code-generation algorithm.
关 键 词:专用指令处理器编译器 代码生成 调度无环有向图 动态规划
分 类 号:TP314[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222