summaryrefslogtreecommitdiffstats
path: root/content/zettel/2b1.md
blob: 0ff9f00bc30e079f05ee170e7bb2d74a8c0b75e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+++
title = "Predicated execution"
author = "Yann Herklotz"
tags = []
categories = []
backlinks = ["3c2", "2b", "1c6c", "1b8", "1b7"]
forwardlinks = ["1a1", "1c", "2b2", "2b1a"]
zettelid = "2b1"
+++

Predicated execution is the addition of conditional execution to normal
instructions, which is much more efficient than using conditionals to
separate the control flow. In addition to that, predicated execution can
also be used to transform control flow into straight-line code, which
then allows for optimisations that can only work on straight-line code,
such as optimisations that use a data-flow graph ([\#1a1]) such as HLS
optimisations ([\#1c]).

  [\#1a1]: /zettel/1a1
  [\#1c]: /zettel/1c