首页> 外文学位 >ARABBIT: Architectural Aided Binary to Binary Translation.
【24h】

ARABBIT: Architectural Aided Binary to Binary Translation.

机译:兔子:建筑辅助二进制到二进制翻译。

获取原文
获取原文并翻译 | 示例

摘要

Binary to Binary Translation is the preferred method to migrate applications between different architectures because it reduces the time and resources required for the migration, and helps protect huge investments in software development. Approaches to binary translation developed to date have focused almost exclusively on the translation of code. A program, however, is composed of code and data, and if not handled properly, data representation mismatches between the source and target architecture can cause the translated program to fail, even if it is semantically equivalent to the source code.;This research presents a conceptual framework for the binary translation of data types. The framework proposes two data emulation architectures: unified and dual, and several conversion algorithms for the translation of the architecture data holders: register and memory. Four benchmarks with different ratios of data types are translated between two source/target pairs. The performance of the translated program is defined as the dynamic Program Expansion. Performance models estimate the contributions of code and data to Program Expansion. The Data Expansion of the four benchmarks for a source/target pair with floating point representation mismatches, ranged between 0.08 and 5.27, accounting for 1.7% to 50% of the estimated Program Expansion. For a source/target pair using the same floating point format, the Data Expansion of the four benchmarks varied between 0 and 0.55 and accounts for 3% of the Program Expansion. The prediction error is 7.4% on average for both source/target pairs.;It was found that data representation mismatches and the ratio of floating point to integer references in the source program impact the selection of the data emulation architecture/conversion approach to minimize Data Expansion. Unified emulation architectures are the best choice for programs with a low ratio of floating point to integer references. As this ratio increases, a dual emulation architecture becomes the preferred choice. Also, the higher the ratio of floating point to integer references in the source program, the higher the Data Expansion. Picking the wrong data emulation architecture can lead to doubling the amount of translated code that must be executed.
机译:二进制到二进制转换是在不同体系结构之间迁移应用程序的首选方法,因为它减少了迁移所需的时间和资源,并有助于保护软件开发方面的巨额投资。迄今为止开发的二进制翻译方法几乎完全集中在代码翻译上。但是,程序是由代码和数据组成的,如果处理不当,即使源代码和源代码在语义上等同于源代码,源和目标体系结构之间的数据表示不匹配也会导致翻译后的程序失败。用于数据类型二进制转换的概念框架。该框架提出了两种数据仿真体系结构:统一和双重,以及几种用于转换体系结构数据持有者的转换算法:寄存器和存储器。在两个源/目标对之间转换具有不同数据类型比率的四个基准。翻译后的程序的性能定义为动态程序扩展。性能模型估计代码和数据对程序扩展的贡献。具有浮点表示不匹配的源/目标对的四个基准的数据扩展范围在0.08至5.27之间,占估计程序扩展的1.7%至50%。对于使用相同浮点格式的源/目标对,四个基准的数据扩展在0到0.55之间变化,占程序扩展的3%。源/目标对的预测误差平均为7.4%;;发现数据表示不匹配以及源程序中浮点数与整数引用的比率会影响数据仿真体系结构/转换方法的选择,以最小化数据扩张。对于浮点数与整数引用之比低的程序,统一仿真体系结构是最佳选择。随着该比率的增加,双重仿真架构成为首选。同样,源程序中浮点数与整数引用的比率越高,数据扩展就越高。选择错误的数据仿真体系结构可能导致必须执行的翻译代码量加倍。

著录项

  • 作者

    Hernandez, Carol Belen.;

  • 作者单位

    Carnegie Mellon University.;

  • 授予单位 Carnegie Mellon University.;
  • 学科 Computer science.
  • 学位 Ph.D.
  • 年度 1997
  • 页码 156 p.
  • 总页数 156
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号