add bitmanip pseudocode to spec pdf
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Jul 2022 13:24:59 +0000 (14:24 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Jul 2022 13:25:03 +0000 (14:25 +0100)
openpower/Makefile
openpower/simple_v_spec.tex

index 3bb2fef29973e2452945e99f35e18cb87c618532..1635d93a542ea92dcc2af41a058640eb80cfb3d5 100755 (executable)
@@ -9,7 +9,9 @@ SOURCE_TEX := tex_out/remap.tex tex_out/bitmanip.tex tex_out/vector_ops.tex \
               tex_out/branches.tex tex_out/cr_ops.tex \
               tex_out/setvl.tex tex_out/svstep.tex \
               tex_out/mv_swizzle.tex tex_out/mv_vec.tex \
-              tex_out/pseudocode_simplev.tex tex_out/cr_int_predication.tex \
+              tex_out/pseudocode_simplev.tex \
+              tex_out/pseudocode_bitmanip.tex \
+              tex_out/cr_int_predication.tex \
               tex_out/fcvt.tex tex_out/fclass.tex \
               tex_out/int_fp_mv.tex tex_out/av_opcodes.tex \
               tex_out/big_integer.tex \
@@ -162,6 +164,13 @@ tex_out/pseudocode_simplev.tex : $(ISA_DIR)/simplev.mdwn
                        -N -o tex_out/pseudocode_simplev.tex \
                        $(ISA_DIR)/simplev.mdwn
 
+tex_out/pseudocode_bitmanip.tex : $(ISA_DIR)/bitmanip.mdwn
+       mkdir -p tex_out
+       pandoc -f markdown -t latex --top-level-division=section \
+               --filter pandoc_img.py \
+                       -N -o tex_out/pseudocode_bitmanip.tex \
+                       $(ISA_DIR)/bitmanip.mdwn
+
 tex_out/cr_int_predication.tex : sv/cr_int_predication.mdwn
        mkdir -p tex_out
        pandoc -f markdown -t latex --top-level-division=section \
index 9cfee95450dde062144b2d390c38c0be11b4e20f..3c48b96e93d2b7308e8fd18e74d3d5bfdd4bfb11 100644 (file)
@@ -216,9 +216,11 @@ Programme, requires full transparency.
 \begin{appendices}
 \chapter{Big Integer Analysis}\hypertarget{svux2fbigintegerux2fanalysis}{}
 \input{tex_out/big_integer_analysis.tex}
-\chapter{Simple-V FP pseudocode}\hypertarget{svux2fpseudocode_svfparith}{}
+\chapter{Bitmanip pseudocode}\hypertarget{svux2fpseudocode_bitmanip}{}
+\input{tex_out/pseudocode_bitmanip.tex}
+\chapter{Floating Point pseudocode}\hypertarget{svux2fpseudocode_svfparith}{}
 \input{tex_out/pseudocode_svfparith.tex}
-\chapter{Simple-V Fixed Point pseudocode}
+\chapter{Fixed Point pseudocode}
 \hypertarget{svux2fpseudocode_svfixedarith}{}
 \input{tex_out/pseudocode_svfixedarith.tex}
 \end{appendices}