extra intro para for pdf
[libreriscv.git] / openpower / simple_v_spec.tex
index 8595f911a6c8ba4f526ce1b34880f7d3f692c8e9..baea6bc1239e8e3b365b22f3a257005dd355fa1c 100644 (file)
@@ -1,6 +1,11 @@
 \documentclass[]{book}
 \usepackage{lmodern}
 \usepackage{amssymb,amsmath}
+\usepackage{lscape}
+\usepackage{sectsty}
+\usepackage{appendix}
+\usepackage{graphicx}
+\usepackage{anyfontsize}
 \usepackage{ifxetex,ifluatex}
 \usepackage{fixltx2e} % provides \textsubscript
 \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -61,15 +66,86 @@ table}}{}
 
 \begin{document}
 
+\chapter*{Introduction}
+\addcontentsline{toc}{chapter}{Introduction} \markboth{INTRODUCTION}{}
+
+This document is an auto-generated version of the Draft SVP64
+Specification available at
+
+\begin{verbatim}
+     https://libre-soc.org/openpower/sv
+\end{verbatim}
+
+for which the source code is available at
+
+\begin{verbatim}
+     https://git.libre-soc.org/?p=libreriscv.git;a=tree;f=openpower;hb=HEAD
+\end{verbatim}
+
+This PDF may be created with "make pdf" from the following file:
+
+\begin{verbatim}
+    https://git.libre-soc.org/?p=libreriscv.git;a=blob;f=openpower/Makefile;hb=HEAD
+\end{verbatim}
+
+Simple-V Cray-style Vectors have been developed by the Libre-SOC Team,
+sponsored by the NLnet Foundation and NGI POINTER under
+EU Grants 871528 and 957073.
+
+Simple-V is in DRAFT Status and will be submitted publicly
+(non-confidentially) through the OPF ISA WG "External Submissions"
+Process. Funding from NLnet, through their Privacy and Enhanced Trust
+Programme, requires full transparency.
+
+\tableofcontents
+
 \chapter{Scalable Vectors for the Power ISA}
+\hypertarget{svux2fscalvecpowisa}{}
+\hypertarget{SVux7csv}{}
 \input{tex_out/sv.tex}
-\chapter{Overview}
+\chapter{Other Vector ISAs}\hypertarget{svux2fvector_isa_comparison}{}
+\input{tex_out/vector_isas.tex}
+\chapter{Overview}\hypertarget{svux2foverview}{}
 \input{tex_out/overview.tex}
-\chapter{Compliancy Levels}
+\chapter{Compliancy Levels}\hypertarget{svux2fcompliancy_levels}{}
 \input{tex_out/compliancy_levels.tex}
-\chapter{SVP64}
+\chapter{SVP64}\hypertarget{svux2fsvp64}{}
 \input{tex_out/svp64.tex}
-\chapter{SVP64 Quirks}
-\input{tex_out/svp64_qurks.tex}
+\chapter{SPRs}\hypertarget{svux2fsprs}{}
+\input{tex_out/sprs.tex}
+\chapter{Arithmetic Mode}\hypertarget{svux2fnormal}{}
+\input{tex_out/normal.tex}
+\chapter{Load/Store Mode}\hypertarget{svux2fldst}{}
+\input{tex_out/ldst.tex}
+\chapter{Condition Register Fields Mode}\hypertarget{svux2fcr_ops}{}
+\input{tex_out/cr_ops.tex}
+\chapter{Branch Mode}\hypertarget{svux2fbranches}{}
+\input{tex_out/branches.tex}
+\chapter{setvl instruction}\hypertarget{svux2fsetvl}{}
+\input{tex_out/setvl.tex}
+\chapter{svstep instruction}\hypertarget{svux2fsvstep}{}
+\input{tex_out/svstep.tex}
+\chapter{REMAP subsystem}\hypertarget{svux2fremap}{}
+\input{tex_out/remap.tex}
+\chapter{Swizzle Move}\hypertarget{svux2fmv.swizzle}{}
+\input{tex_out/mv_swizzle.tex}
+\chapter{Pack / Unpack}\hypertarget{svux2fmv.vec}{}
+\input{tex_out/mv_vec.tex}
+
+\begin{appendices}
+\chapter{SVP64 Appendix}\hypertarget{svp64ux2fappendix}{}
+\input{tex_out/svp64_appendix.tex}
+\chapter{SVP64 Quirks}\hypertarget{svux2fsvp64_quirks}{}
+\input{tex_out/svp64_quirks.tex}
+\chapter{Simple-V pseudocode}\hypertarget{svux2fpseudocode_simplev}{}
+\input{tex_out/pseudocode_simplev.tex}
+\chapter{SVP64 Augmentation Table}\hypertarget{opcode_regs_deduped}{}
+\begin{landscape}
+{
+\fontsize{7}{9}\selectfont
+\input{tex_out/opcode_regs_deduped.tex}
+}
+\end{landscape}
+\end{appendices}
 
 \end{document}