summaryrefslogtreecommitdiffstats
path: root/content/zettel/1c2h4.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/zettel/1c2h4.md')
-rw-r--r--content/zettel/1c2h4.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/zettel/1c2h4.md b/content/zettel/1c2h4.md
new file mode 100644
index 0000000..18a624c
--- /dev/null
+++ b/content/zettel/1c2h4.md
@@ -0,0 +1,18 @@
++++
+title = "Guard Heuristic"
+date = "2022-05-11"
+author = "Yann Herklotz"
+tags = []
+categories = []
+backlinks = ["1c2h3"]
+forwardlinks = ["1c2h5"]
+zettelid = "1c2h4"
++++
+
+> Register *r* is an operand of the branch instruction, register *r* is
+> used in the successor block before it is defined, and the successor
+> block does not postdominate the branch. If the heuristic applies,
+> predict the successor *with* the property.
+
+This property predicts that one will not take the branch that contains a
+guard condition, and instead will follow along in the code.