基于CK810处理器的汇编链接时优化  被引量:5

Assembly and Link Time Optimization Based on CK810 Processor

在线阅读下载全文

作  者:胡敏[1] 卢永江[1] 刘兵[1] 

机构地区:[1]浙江大学超大规模集成电路设计研究所,杭州310027

出  处:《计算机工程》2014年第11期250-254,共5页Computer Engineering

基  金:国家"863"计划基金资助项目(2009AA011706)

摘  要:提出基于CK810处理器的16/32位混编指令集汇编链接时优化技术。利用汇编输出二进制文件,根据CK810处理器的16/32位混编指令集中指令及操作数的特征,动态选择指令的编码方式,实现对指令relax,最大程度地提高了程序的代码密度。对于在汇编时不能确定编码方式的指令,通过留出重定位的方式,由链接时完成优化。在链接时,利用信息的确定性,实现对整个程序的压缩和指令的替换,使得程序执行效率更高,代码占用空间更小。汇编链接时优化技术克服了传统编译器只限于一个模块优化的缺点,把优化范围扩展到整个程序,实现了跨模块的优化,使得基于CK810处理器的程序代码密度平均提高7.52%,性能平均提升7.91%。According to feature of 16/32 bit mixed instruction set of CK810 , assembly and link time optimization techniques based on the 16/32 mixed instruction set of CK810 make use of assembler output binary files to achieve instructions relax and coding instructions dynamically. The assembler gives relocations to linker for instructions that can’ t decide how to code at assembly time,the techniques fully utilizes the information only available at link time to realize of the entire program for compression and replacement of instructions to make program more efficient and small. Assembly and link optimization techniques overcome the limitations of traditional compilers by enlarging the optimizing scope from a single function or a module to the whole program,making the code density on CK810 increase an average of 7. 52% , the average performance improvement of 7 . 91% .

关 键 词:汇编优化 链接优化 动态编码 重定位 压缩 替换 

分 类 号:TP313[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象