首页 | 本学科首页   官方微博 | 高级检索  
     

奇异数据类型的编译支持
引用本文:胡定磊,陈书明,刘春林.奇异数据类型的编译支持[J].计算机工程,2007,33(3):29-31.
作者姓名:胡定磊  陈书明  刘春林
作者单位:国防科技大学计算机学院,长沙 410073;国防科技大学计算机学院,长沙 410073;国防科技大学计算机学院,长沙 410073
基金项目:国家高技术研究发展计划(863计划) , 国家自然科学基金
摘    要:专用处理器,如DSP等,因主要支持特定应用,其指令集往往只支持有限的数据类型。在采用高级语言为其编程时,若采用了处理器不支持的奇异数据类型,编译器必须在保持语义的前提下将其转化为处理器支持的一段指令。该文提出了一种在VLIW DSP编译器中实现对奇异数据类型的处理的方法,包括对含有奇异数据类型的中间代码的注释、调度依赖关系的计算、寄存器分配的改进。该类方法对编译器的改动相对较小,效率较高。

关 键 词:数据类型  代码注释  数据依赖关系  寄存器分配  编译器
文章编号:1000-3428(2007)03-0029-03
修稿时间:2006-02-23

Implementation of Special Data Type in Compiler
HU Dinglei,CHEN Shuming,LIU Chunlin.Implementation of Special Data Type in Compiler[J].Computer Engineering,2007,33(3):29-31.
Authors:HU Dinglei  CHEN Shuming  LIU Chunlin
Affiliation:Computer School, National University of Defence Technology, Changsha 410073
Abstract:Special purpose processors,such as DSPs,can only support limited data types in their instruction sets because they are suitable to specific applications.In programs written in high-level language,if special data types which can not be supported by target processor are used,compiler must translate such statements into instructions supported by target processor while keeping original semantic.One method is presented to deal with specail data types in a VLIW DSP compiler,including code annotation of intermediate representations containing special data types,data flow and scheduling dependency computation,and register allocation improvement.To realize the method,only little modification of compiler is needed,and the method is efficient.
Keywords:Data type  Code annotation  Data flow dependency  Register allocation  Compiler
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号