You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/various/chapter.tex
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ \section{Optimization tricks}
32
32
\end{itemize}
33
33
\subsection{Pragmas}
34
34
\begin{itemize}
35
-
\item\lstinline{#pragma GCC optimize ("Ofast")} will make GCC auto-vectorize for loops and optimizes floating points better (assumes associativity and turns off denormals).
36
-
\item\lstinline{#pragma GCC target ("avx,avx2")} can double performance of vectorized code, but causes crashes on old machines.
35
+
\item\lstinline{#pragma GCC optimize ("Ofast")} will make GCC auto-vectorize loops and optimizes floating points better.
36
+
\item\lstinline{#pragma GCC target ("avx2")} can double performance of vectorized code, but causes crashes on old machines.
37
37
\item\lstinline{#pragma GCC optimize ("trapv")} kills the program on integer overflows (but is really slow).
0 commit comments