Enabling dynamic binary translation in embedded systems with scratchpad memory

  • Authors:
  • José A. Baiocchi;Bruce R. Childers;Jack W. Davidson;Jason D. Hiser

  • Affiliations:
  • University of Pittsburgh;University of Pittsburgh;University of Virginia;University of Virginia

  • Venue:
  • ACM Transactions on Embedded Computing Systems (TECS)
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Important challenges for embedded systems can be addressed by dynamic binary translation. A dynamic binary translator stores translated instructions in a software-managed code cache, which is usually large to minimize overhead. This article shows how to use a small scratchpad memory for the code cache. A small code cache may require frequent code evictions and retranslation, which degrade performance. We propose techniques to reduce the number of instructions inserted by the translator and a way to form fragments that minimizes translated code size. With our techniques, a much smaller code cache can hold a program's translated code working set.