摘要
目前对处理器速度的追求促使指令集体系结构不断发展,但是软件的支持却不能与其匹配,造成新体系结构推广的困难,研究、解决代码迁移问题的二进制翻译方法应运而生。文中介绍了二进制翻译中解码器的功能,并结合IA64的指令特点,设计出基于指令束的解码算法。根据测试中发现该算法存在的问题,提出了改进方案,消除束的特性,给每条指令赋予唯一地址并按此地址进行解码。在IA64至Alpha的二进制翻译课题中,对该算法进行了工程实现。
With the continuous development of Instruction Set Architecture (ISA), the slower development of corresponding software hinders the popularization of the new ISA. Binary translation is an alternative method to reuse legacy software by code migration from existing ISA. Firstly the function of decoder in binary translation was introduced and a decoding algorithm was designed based on instruction bundle according to the features of IA-64 instructions. During the test, some problems of the algorithm were found, and then an improved method was given and it removed the feature of instruction bundle, supplied a unique virtual address to each instruction on which the decoder acted, The algorithm was achieved in the research of IA-64-to-Alpha binary translation.
出处
《计算机应用》
CSCD
北大核心
2006年第5期1186-1189,共4页
journal of Computer Applications
基金
河南省杰出人才创新基金资助项目(0521000200)
关键词
二进制翻译
解码器
指令束
binary translation
decoder
instruction bundle