From 6a5930c865332bb53d005ba37a87e39c47c04973 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 4 Jul 2022 14:24:59 +0100 Subject: [PATCH] add bitmanip pseudocode to spec pdf --- openpower/Makefile | 11 ++++++++++- openpower/simple_v_spec.tex | 6 ++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/openpower/Makefile b/openpower/Makefile index 3bb2fef29..1635d93a5 100755 --- a/openpower/Makefile +++ b/openpower/Makefile @@ -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 \ diff --git a/openpower/simple_v_spec.tex b/openpower/simple_v_spec.tex index 9cfee9545..3c48b96e9 100644 --- a/openpower/simple_v_spec.tex +++ b/openpower/simple_v_spec.tex @@ -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} -- 2.30.2