Skip to Main content Skip to Navigation
Conference papers

Execution Models for Processors and Instructions

Florian Brandner 1 Pavlu Viktor 2 Krall Andreas 2
1 COMPSYS - Compilation and embedded computing systems
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
Abstract : Modeling the execution of a processor and its instructions is a challenging problem, in particular in the presence of long pipelines, parallelism, and out-of-order execution. A naive approach based on finite state automata inevitably leads to an explosion in the number of states and is thus only applicable to simple minimalistic processors. During their execution, instructions may only proceed forward through the processor's datapath towards the end of the pipeline. The state of later pipeline stages is thus independent of potential hazards in preceding stages. This also applies for data hazards, i.e., we may observe data by-passing from a later stage to an earlier one, but not in the other direction. Based on this observation, we explore the use of a series of parallel finite automata to model the execution states of the processor's resources individually. The automaton model captures state updates of the individual resources along with the movement of instructions through the pipeline. A highly-flexible synchronization scheme built into the automata enables an elegant modeling of parallel computations, pipelining, and even out-of-order execution. An interesting property of our approach is the ability to model a subset of a given processor using a sub-automaton of the full execution model.
Complete list of metadata
Contributor : Florian Brandner Connect in order to contact the contributor
Submitted on : Wednesday, November 17, 2010 - 8:37:44 PM
Last modification on : Wednesday, October 13, 2021 - 7:58:04 PM


  • HAL Id : ensl-00537179, version 1



Florian Brandner, Pavlu Viktor, Krall Andreas. Execution Models for Processors and Instructions. NORCHIP 2010, IEEE, Nov 2010, Finland. ⟨ensl-00537179⟩



Record views