Execution models for processors and instructions

Florian Brandner, Viktor Pavlu, Andreas Krall

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publication28th Norchip Conference, NORCHIP 2010
DOIs
Publication statusPublished - 1 Dec 2010
Externally publishedYes
Event28th Norchip Conference, NORCHIP 2010 - Tampere, Finland
Duration: 15 Nov 201016 Nov 2010

Publication series

Name28th Norchip Conference, NORCHIP 2010

Conference

Conference28th Norchip Conference, NORCHIP 2010
Country/TerritoryFinland
CityTampere
Period15/11/1016/11/10

Fingerprint

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

Cite this