Execution Models for Processors and Instructions - ENS de Lyon - École normale supérieure de Lyon Access content directly
Conference Papers Year : 2010

Execution Models for Processors and Instructions

Pavlu Viktor
  • Function : Author
  • PersonId : 882814
Krall Andreas
  • Function : Author
  • PersonId : 882815


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.
Not file

Dates and versions

ensl-00537179 , version 1 (17-11-2010)


  • 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⟩
131 View
0 Download


Gmail Facebook Twitter LinkedIn More