• DocumentCode
    2114171
  • Title

    A flag simulation strategy based on fusion of semantic trees in binary translation

  • Author

    Xiaonan Liu ; Rongcai Zhao ; Jianmin Pang ; Meijuan Yin ; Lili Bai ; Wuping Chen

  • Author_Institution
    State Key Lab. or Math. Eng. & Adv. Comput., Zhengzhou, China
  • fYear
    2013
  • fDate
    23-25 July 2013
  • Firstpage
    1070
  • Lastpage
    1074
  • Abstract
    Binary translation is the emulation of one instruction set by another through translation of code. Sequences of instructions are translated from the source to the target instruction set. The semantic equivalence conversion of instructions is the core of a binary translation system. In order to simulate the behavior of a program on the target platform more accurately, the change of the special state register must be exactly simulated. A flag register simulation strategy based on fusion of semantic trees is presented in this paper. First, it is determined whether the instructions meet some special conditions by the relations among instruction semantic trees. Then these instructions will be fused if the conditions are met. Finally, binary translation is carried out on the fused instructions. The experimental results show that the proposed binary translation strategy is effective. The strategy can not only reduce the problem of code inflation, but also improve the execution efficiency of the translated code.
  • Keywords
    digital simulation; program interpreters; trees (mathematics); binary translation; code translation; flag register simulation strategy; program behavior; semantic equivalence conversion; semantic trees fusion; state register; Computers; Linux; Optimization; Registers; Semantics; Software; Vegetation; binary translation; flags simulation; fusion; semantic tree;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Fuzzy Systems and Knowledge Discovery (FSKD), 2013 10th International Conference on
  • Conference_Location
    Shenyang
  • Type

    conf

  • DOI
    10.1109/FSKD.2013.6816355
  • Filename
    6816355