#!/usr/bin/make -f
ISA_DIR := ../../openpower-isa/openpower/isa
-SOURCE_TEX := tex_out/remap.tex tex_out/bitmanip.tex tex_out/vector_ops.tex \
+SOURCE_TEX := tex_out/remap.tex \
+ tex_out/remap_appendix.tex \
+ tex_out/bitmanip.tex tex_out/vector_ops.tex \
tex_out/sv.tex tex_out/svp64_appendix.tex \
tex_out/overview.tex tex_out/svp64.tex \
tex_out/compliancy_levels.tex tex_out/svp64_quirks.tex \
--filter pandoc_img.py \
-N -o tex_out/vector_ops.tex tex_out/vector_ops.mdwn
+tex_out/remap_appendix.tex: sv/remap/appendix.mdwn
+ mkdir -p tex_out
+ ./mdwn_inline.py sv/remap/appendix.mdwn tex_out/remap_appendix.mdwn
+ pandoc -f markdown -t latex --top-level-division=section \
+ --filter pandoc_img.py \
+ -N -o tex_out/remap_appendix.tex tex_out/remap_appendix.mdwn
+
tex_out/remap.tex: sv/remap.mdwn
mkdir -p tex_out
./mdwn_inline.py sv/remap.mdwn tex_out/remap.mdwn
\input{tex_out/svp64_appendix.tex}
\chapter{SVP64 Quirks}\hypertarget{svux2fsvp64_quirks}{}
\input{tex_out/svp64_quirks.tex}
+\chapter{REMAP algorithms}\hypertarget{svux2fremapux2fappendix}{}
+\input{tex_out/remap_appendix.tex}
\chapter{Simple-V pseudocode}\hypertarget{svux2fpseudocode_simplev}{}
\input{tex_out/pseudocode_simplev.tex}
\chapter{SVP64 Augmentation Table}\hypertarget{opcode_regs_deduped}{}
* Cray-1 Pocket Reference
<https://nitter.it/aka_pugs/status/1546576975166201856>
<https://ftp.libre-soc.org/cray-1-pocket-ref/>
+ <https://www.computerhistory.org/collections/catalog/102685876>
* <https://github.com/tdene/synth_opt_adders> Prefix-tree generation scripts
* <https://debugger.medium.com/why-is-apples-m1-chip-so-fast-3262b158cba2> N1
* <https://codeberg.org/tok/librecell> Libre Cell Library