summaryrefslogtreecommitdiffstats
path: root/content/zettel/3a8a2.md
blob: a48882b1c472121b6f55f5dc75cc3ba44eb9c9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+++
title = "Parallel semantics of phi functions"
author = "Yann Herklotz"
tags = []
categories = []
backlinks = ["3a8a1"]
forwardlinks = ["3a8a3"]
zettelid = "3a8a2"
+++

The semantics of the phi instructions are parallel, which means that
they all use the same starting state as input, and then update the
registers based on that that phi instruction. Modelling of the phi
instructions as a sequential update is not performed.

There are some cases, however, where the sequential execution of phi
instructions does not lead to equivalent behaviour as the parallel
execution of the instructions. There are then optimisations that can
take advantage of this, and that the inputs and outputs of the phi
instructions are independent.