diff --git a/lectures/L07-slides.tex b/lectures/L07-slides.tex index 64779ae..35ef7a0 100644 --- a/lectures/L07-slides.tex +++ b/lectures/L07-slides.tex @@ -240,6 +240,10 @@ \begin{frame} \frametitle{Take a Guess} +\begin{center} + \includegraphics[width=0.4\textwidth]{images/interstellar-branch-mispredict.jpg} +\end{center} + The compiler and CPU look at instructions on their way to be executed and analyze whether it thinks it's likely the branch is taken. This can be based on several things, including the recent execution history. diff --git a/lectures/images/interstellar-branch-mispredict.jpg b/lectures/images/interstellar-branch-mispredict.jpg new file mode 100644 index 0000000..72d8675 Binary files /dev/null and b/lectures/images/interstellar-branch-mispredict.jpg differ