Execution models for processors and instructions

Florian Brandner, Viktor Pavlu, Andreas Krall

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review


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.
Keyword: pipeline processing,Automata,automata theory,instruction sets,finite state automata,parallel finite automata,Synchronization,Program processors,instruction set,highly flexible synchronization scheme,Computational modeling,out-of-order execution,Hazards,parallel processing,Pipelines
Original languageEnglish
Title of host publicationNORCHIP, 2010
PublisherIEEE Computer Society Press
Publication date2010
ISBN (Print)978-1-4244-8972-5
ISBN (Electronic)978-1-4244-8971-8
Publication statusPublished - 2010
Externally publishedYes
Event28th Norchip Conference - Tampere, Finland
Duration: 15 Nov 201016 Nov 2010


Conference28th Norchip Conference

Fingerprint Dive into the research topics of 'Execution models for processors and instructions'. Together they form a unique fingerprint.

Cite this