Number of Authors: 1
1993 (English)Report (Refereed)
Traditional simulation of a target architecture by interpreting object code can be improved by translating the object code to an intermediate format. This approach is called interpretive translation. Despite a substantial performance improvement over traditional interpretation, a large part of the overhead is unnecessary. An alternative approach is block translation, where one or more simulated instructions are translated to directly executable code. This approach has several drawbacks. We discuss the problems with block translation, analyse the overhead of interpretive translation, and describe a hybrid approach-partial translation-that combines the benefits of both approaches. Partial translation implements an intermediate format that supports the addition of run-time generated code whenever appropriate. The perfor- mance limit (slowdown) of interpetive translation is around 15, and real implementations have achieved 20-30. Partial translation will perform considerably better. Finally, we present results from an aggressive implementation of interpretive translation, and results from a proof-of-concept implementation of partial translation.
Place, publisher, year, edition, pages
Swedish Institute of Computer Science , 1993, 1. , 17 p.
SICS Technical Report, ISSN 1100-3154 ; T93:05
partial translation, simulator, interpreter
Computer and Information Science
IdentifiersURN: urn:nbn:se:ri:diva-21449OAI: oai:DiVA.org:ri-21449DiVA: diva2:1041485