⑨ lab ≡ ByteLabs

Pub/Cycle Accurate Performance Modelling (IC-SAMOS)

Abstract

Instruction set simulators (Iss) are vital tools for compiler and processor architecture design space exploration and verification. State-of-the-art simulators using just-in-time (Jit) dynamic binary translation (Dbt) techniques are able to simulate complex embedded processors at speeds above 500 Mips. However, these functional Iss do not provide microarchitectural observability. In contrast, low-level cycle-accurate Iss are too slow to simulate full-scale applications, forcing developers to revert to FPGA-based simulations. In this paper we demonstrate that it is possible to run ultra-high speed cycle-accurate instruction set simulations surpassing FPGA-based simulation speeds. We extend the Jit Dbt engine of our Iss and augment Jit generated code with a verified cycle-accurate processor model. Our approach can model any microarchitectural configuration, does not rely on prior profiling, instrumentation, or compilation, and works for all binaries targeting a state-of-the-art embedded processor implementing the ARCompact™ instruction set architecture (Isa). We achieve simulation speeds up to 63 Mips on a standard x86 desktop computer, whilst the average cycle-count deviation is less than 1.5% for the industry standard Eembc and Core Mark benchmark suites.

#Publication