Ultra fast cycle-accurate compiled emulation of inorder pipelined architectures

  • Authors:
  • Stefan Farfeleder;Andreas Krall;Nigel Horspool

  • Affiliations:
  • Institut für Computersprachen, TU Wien, Austria;Institut für Computersprachen, TU Wien, Austria;Department of Computer Science, University of Victoria, Canada

  • Venue:
  • SAMOS'05 Proceedings of the 5th international conference on Embedded Computer Systems: architectures, Modeling, and Simulation
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Emulation of one architecture on another is useful when the architecture is under design, when software must be ported to a new platform or is being developed for systems which are still under development, or for embedded systems that have insufficient resources to support the software development process. Emulation using an interpreter is typically slower than normal execution by up to 3 orders of magnitude. Our approach instead translates the program from the original architecture to another architecture while faithfully preserving its semantics at the lowest level. The emulation speeds are comparable to, and often faster than, programs running on the original architecture. Partial evaluation of architectural features is used to achieve such impressive performance, while permitting accurate statistics collection. Accuracy is at the level of the number of clock cycles spent executing each instruction (hence the description cycle-accurate).