From 5f2c8842f6a42f260bebd7f77bda7e1d289c468a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Sun, 1 Dec 2024 15:32:24 +0100 Subject: [PATCH] Make memdeps slide --- slides/50_staticdeps/main.tex | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/slides/50_staticdeps/main.tex b/slides/50_staticdeps/main.tex index f99db30..8035bee 100644 --- a/slides/50_staticdeps/main.tex +++ b/slides/50_staticdeps/main.tex @@ -53,14 +53,23 @@ loop: \end{frame} -\begin{frame}{Dependencies, through memory} - \todo{} - \begin{itemize} - \item Through memory: indirections, arithmetics, … - \item Loop-carried: ROB is finite and small-ish - \item Requires comparison of arbitrary symbolic expressions - \item Use randomness as a kind of hash table instead - \end{itemize} +\begin{frame}[fragile]{Dependencies, through memory} + \begin{minipage}[c]{0.30\textwidth} +\begin{lstlisting}[language={[x86masm]Assembler}, numbers=none] +mov %r10, 4(%rax) +add $4, %rax +add %rbx, (%rax) +\end{lstlisting} + \end{minipage}\hfill + \begin{minipage}[c]{0.68\textwidth} + \begin{itemize} + \item Through memory: indirections, arithmetics, … + \item Requires comparison of arbitrary symbolic expressions + \medskip{} + \item Use randomness as a kind of hash table instead + \item Loop-carried: luckily, ROB is finite and small + \end{itemize} + \end{minipage} \end{frame}