add svanalysis to spec
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 30 Jul 2022 20:02:27 +0000 (21:02 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 30 Jul 2022 20:02:27 +0000 (21:02 +0100)
openpower/Makefile
openpower/simple_v_spec.tex

index cc6bdfbe371a678a5955401ce1e0c643a994aa8c..b96142624bd0be76033689341d0ce42bd9180a30 100755 (executable)
@@ -38,6 +38,7 @@ SOURCE_TEX := tex_out/remap.tex \
                 tex_out/big_integer_analysis.tex \
                 tex_out/transcendentals.tex \
                 tex_out/atomics.tex \
+                tex_out/sv_analysis.tex \
                 tex_out/vector_isas.tex \
                 tex_out/comparison_table.tex \
                 tex_out/fields.tex
@@ -46,6 +47,12 @@ SOURCE_TEX := tex_out/remap.tex \
 tex: $(SOURCE_TEX)
        mkdir -p tex_out
 
+tex_out/sv_analysis.tex : sv/sv_analysis.mdwn
+       mkdir -p tex_out
+       pandoc -f markdown -t latex --top-level-division=section \
+               --filter pandoc_img.py \
+            -N -o tex_out/sv_analysis.tex sv/sv_analysis.mdwn
+
 tex_out/comparison_table.tex : sv/comparison_table.mdwn texmunge.py
        mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
@@ -418,9 +425,8 @@ simple_v_spec.pdf : tex simple_v_spec.tex
 pdf : simple_v_spec.pdf
 
 upload : pdf
-       sftp  \
-        ftp@libre-soc.org:/var/www/ftp.libre-riscv.org \
-           <<< $'put simple_v_spec.pdf'
+       echo 'put simple_v_spec.pdf' | \
+       sftp  ftp@libre-soc.org:/var/www/ftp.libre-riscv.org
 
 clean:
        rm -fr tex_out simple_v_spec.aux simple_v_spec.out simple_v_spec.toc
index 2f03b8fad17e4515dafb7234db61ff27b0f98e59..102a2b54bf934721d8c6cd39a86535a51d179d1f 100644 (file)
@@ -260,6 +260,8 @@ For questions, comments, and clarification, please contact the following:
 \input{tex_out/remap_appendix.tex}
 \chapter{Simple-V pseudocode}\hypertarget{svux2fpseudocode_simplev}{}
 \input{tex_out/pseudocode_simplev.tex}
+\chapter{Simple-V Analysis}\hypertarget{svux2fsv_analysis}{}
+\input{tex_out/sv_analysis.tex}
 
 \chapter{SVP64 Augmentation Table}\hypertarget{opcode_regs_deduped}{}
 \begin{landscape}