diff --git a/spec/tinyspec.pdf b/spec/tinyspec.pdf index 332ba69473..8f73c91227 100644 Binary files a/spec/tinyspec.pdf and b/spec/tinyspec.pdf differ diff --git a/spec/tinyspec.tex b/spec/tinyspec.tex index 93cc838f75..5667df2beb 100644 --- a/spec/tinyspec.tex +++ b/spec/tinyspec.tex @@ -80,6 +80,7 @@ A \op{Buffer}'s \textbf{addrspace} is \texttt{GLOBAL}, \texttt{LOCAL}, or \textt \op{Stack} & $(T_0, T_1, \ldots)$ & --- & Join along a newly created leading axis. All shapes must match. \\ \op{Replicated} & $(T,)$ & axes & Mark $T$ as replicated along axes. Collapse axes to $1$. \\ \op{Slice} & $(T, \mathrm{offset})$ & size, dtype & Zero-copy \textit{size} elems of dtype; offset is elems of $T$ dtype. \\ +\op{Bitcast} & $(T,)$ & dtype & Reinterpret storage as target dtype; preserve total bytes. \\ \bottomrule \end{tabular} @@ -165,8 +166,7 @@ Unary & $(T,)$ & $\mathrm{trunc}(x)$: round toward zero. \\ & & \op{Cast} & Convert to target dtype (specified in arg). \\ -& & \op{Bitcast} - & Reinterpret bits as target dtype. Must be same size. \\[4pt] + \\[4pt] Binary & $(A, B)$ & \op{Add}, \op{Mul}, \op{Max}, \op{Mod}, \op{Idiv} & $a+b$, $a \cdot b$, $\max(a,b)$, $a \bmod b$, $\lfloor a/b \rfloor$ \\