• DocumentCode
    504064
  • Title

    A Hardware Approach for Reducing Interpretation Overhead

  • Author

    Chen, Wei ; Wang, Zhiying ; Lu, Hongyi ; Shen, Li ; Xiao, Nong ; Zheng, Zhong

  • Author_Institution
    Sch. of Comput., Nat. Univ. of Defense Technol., Changsha, China
  • Volume
    1
  • fYear
    2009
  • fDate
    11-14 Oct. 2009
  • Firstpage
    98
  • Lastpage
    103
  • Abstract
    An interpreter reads instructions of the source executable and perform each corresponding operation in turn on a software-maintained version of the old ISA´s state. Interpretation has emerged as an important tool with real world applications. Interpretation is always adopted to support instruction set emulation and handle the non-hotspot code in a two-stage dynamic binary translation strategy. An important consideration of an interpreter is the runtime overhead. We investigate that repeated re-decode operations are the bottleneck of interpretation overhead. We propose interpreted code cache (Pcache), a hardware assist, to save the information of the decoded instruction for reuse. We analyze and model Pcache performance via a real interpretation system. Results from SPEC2000 integer benchmarks show that Pcache could significantly reduce re-decode operations and the overhead of interpretation. We demonstrate that the hardware Pcache is a highly effective approach, and the extra overhead is neglectable compared to the performance gains.
  • Keywords
    cache storage; instruction sets; reduced instruction set computing; Pcache; SPEC2000 integer benchmarks; instruction set emulation; interpretation overhead; interpreted code cache; two-stage dynamic binary translation strategy; Application software; Computer aided instruction; Decoding; Dispatching; Emulation; Hardware; Information technology; Instruction sets; Performance analysis; Virtual machining; cache; decode; hardware; interpretation; overhead;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer and Information Technology, 2009. CIT '09. Ninth IEEE International Conference on
  • Conference_Location
    Xiamen
  • Print_ISBN
    978-0-7695-3836-5
  • Type

    conf

  • DOI
    10.1109/CIT.2009.104
  • Filename
    5329362