add SVP64 intro page
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 19 Jan 2024 07:15:38 +0000 (23:15 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 19 Jan 2024 07:15:38 +0000 (23:15 -0800)
conferences/fosdem2024/fosdem2024_bigint/fosdem2024_bigint.tex

index f9b8d43bc0ba74ee00ddfa9ecf811a732dbf5779..948e80cdbb69ecdab12d2e60bbf9f0c1e7fb6f50 100644 (file)
     \titlepage
 \end{frame}
 
+\begin{frame}[fragile]
+    \frametitle{What is SVP64?}
+    \begin{itemize}
+        \item Vectorization Extension to PowerISA developed by Libre-SOC
+        \pause
+        \item Basically, a way to modify nearly any PowerISA instruction to run it in a HW loop.
+        \pause \\
+        \medskip
+        Simple Example:
+        \begin{semiverbatim}
+# let's assume VL was previously set to 3
+sv.add *r3, *r15, r12  # adds 3 times
+\pause
+# expands to:
+add r3, r15, r12  \only<+(1)->{# no * means r12 doesn't increment}
+add r4, r16, r12  \only<+(1)->{# * means r3 and r15 increment}
+add r5, r17, r12
+        \end{semiverbatim}
+    \end{itemize}
+\end{frame}
+
 \begin{frame}
     \input{test.dia-tex}
 \end{frame}