fix form
[libreriscv.git] / openpower / simple_v_spec.tex
index 098ce45a24b94b417fbf63ce3cb8dc84b5b3b172..bf2c9c1de91e15d26d6ccb28b32b055aaa7e92d9 100644 (file)
 \newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{#1}}}
 \newcommand{\NormalTok}[1]{#1}
 
+% these come from:
+% https://gist.github.com/bgeron/72ebbacf5930537022079d9953f15713
+\usepackage{newunicodechar}
+\newcommand\DeclareUnicodeInv[2]{\DeclareUnicodeCharacter{#2}{#1}}
+
+\DeclareUnicodeCharacter{03A0}{\ensuremath{\Pi}}
+\DeclareUnicodeCharacter{2208}{\ensuremath{\in}}
+\DeclareUnicodeCharacter{03C0}{\ensuremath{\pi}}
+\DeclareUnicodeCharacter{221A}{$\sqrt{}$}
+\DeclareUnicodeCharacter{221B}{$\sqrt[3]{}$}
+\DeclareUnicodeInv{\ensuremath{\mathbb{Z}}}{2124}
+
 % indent all verbatim
 \catcode`\@=11
 \let \saveverbatime \@xverbatim
@@ -290,7 +302,7 @@ instructions purely on their own merit.
 \begin{itemize}
        \item The biginteger multiply-and-add instruction is similar
        to Intel's mulx in that it produces a pair of results.
-       \item Javascript(tm) rounding is present in ARM as fjcvtzs
+       \item JavaScript(tm) rounding is present in ARM as fjcvtzs
        and would save an astounding 35 instructions with 5 branches.
        \item Whilst there exist CR bit manipulation and copying
        instructions there are no CR Field manipulation instructions,