[SPCA] Fix various errors

This commit is contained in:
2026-01-23 10:33:49 +01:00
parent b86fd00a60
commit 25b3381294
15 changed files with 36 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ The same function, using a \verb|while| loop instead may lead to this:
\verb|for| loops follow the same idea as \verb|while| loops, albeit with a few more jumps.
\verb|switch| statements are implemented differently depending on size and case values:
Sparse switch statements are compiled as decision trees, whereas large switch statements may become \textit{jump tables}.
Sparse switch statements are compiled as decision trees, whereas compact switch statements may become \textit{jump tables}.
These jump tables are usually stored in the \texttt{.rodata} section with 8-byte alignment. The jump uses offsets:
\mint{gas}|jmp *.LABEL(, %rsi, 8)|