From 985d300c8949d2d3a69d7b34967df7ba6586486e Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Thu, 30 Jun 2022 17:11:24 +0100 Subject: [PATCH] Fixed more links --- openpower/pandoc_img.py | 14 +++++++++++++- openpower/simple_v_spec.tex | 18 +++++++++--------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/openpower/pandoc_img.py b/openpower/pandoc_img.py index 95c7380dd..6dcfa3296 100755 --- a/openpower/pandoc_img.py +++ b/openpower/pandoc_img.py @@ -54,12 +54,24 @@ def inlinenotes(k, v, f, meta): [Str(link)], [ref, '']) out.write(" link %s\n" % link) - lookups = {'sv/overview': 'Overview Chapter', + lookups = {'sv': 'Scalable Vectors for the Power ISA', + 'sv/overview': 'Overview Chapter', 'sv/compliancy_levels': 'Compliancy Levels', 'sv/svp64': 'SVP64 Chapter', 'sv/sprs': 'SPRs', + 'sv/normal': 'Arithmetic Mode', + 'sv/ldst': 'Load/Store Mode', + 'sv/cr_ops': 'Condition Register Fields Mode', + 'sv/branches': 'Branch Mode', + 'sv/setvl': 'setvl instruction', + 'sv/svstep': 'svstep instruction', + 'sv/remap': 'REMAP subsystem', + 'sv/mv_swizzle': 'Swizzle Move', + 'sv/mv_vec': 'Pack / Unpack', 'svp64/appendix': 'SVP64 Appendix', 'sv/svp64_quirks': 'SVP64 Quirks', + 'sv/pseudocode_simplev': 'Simple-V pseudocode', + 'sv/opcode_regs_deduped': 'SVP64 Augmentation Table', } if link in lookups: out.write(" found %s\n" % lookups[link]) diff --git a/openpower/simple_v_spec.tex b/openpower/simple_v_spec.tex index 548d8d20b..415920e29 100644 --- a/openpower/simple_v_spec.tex +++ b/openpower/simple_v_spec.tex @@ -103,23 +103,23 @@ EU Grants 871528 and 957073. \input{tex_out/svp64.tex} \chapter{SPRs}\hypertarget{svux2fsprs}{SPRs} \input{tex_out/sprs.tex} -\chapter{Arithmetic Mode}\hypertarget{svux2farithmode}{Arithmetic Mode} +\chapter{Arithmetic Mode}\hypertarget{svux2fnormal}{Arithmetic Mode} \input{tex_out/normal.tex} -\chapter{Load/Store Mode}\hypertarget{svux2fldstmode}{Load/Store Mode} +\chapter{Load/Store Mode}\hypertarget{svux2fldst}{Load/Store Mode} \input{tex_out/ldst.tex} -\chapter{Condition Register Fields Mode}\hypertarget{svux2fcrfieldsmode}{Condition Register Fields Mode} +\chapter{Condition Register Fields Mode}\hypertarget{svux2fcr_ops}{Condition Register Fields Mode} \input{tex_out/cr_ops.tex} -\chapter{Branch Mode}\hypertarget{svux2fbranchmode}{Branch Mode} +\chapter{Branch Mode}\hypertarget{svux2fbranches}{Branch Mode} \input{tex_out/branches.tex} \chapter{setvl instruction}\hypertarget{svux2fsetvl}{setvl instruction} \input{tex_out/setvl.tex} \chapter{svstep instruction}\hypertarget{svux2fsvstep}{svstep instruction} \input{tex_out/svstep.tex} -\chapter{REMAP subsystem}\hypertarget{svux2fremapsubsys}{REMAP subsystem} +\chapter{REMAP subsystem}\hypertarget{svux2fremap}{REMAP subsystem} \input{tex_out/remap.tex} -\chapter{Swizzle Move}\hypertarget{svux2fswizzlemove}{Swizzle Move} +\chapter{Swizzle Move}\hypertarget{svux2fmv_swizzle}{Swizzle Move} \input{tex_out/mv_swizzle.tex} -\chapter{Pack / Unpack}\hypertarget{svux2fpackunpack}{Pack / Unpack} +\chapter{Pack / Unpack}\hypertarget{svux2fmv_vec}{Pack / Unpack} \input{tex_out/mv_vec.tex} \begin{appendices} @@ -127,9 +127,9 @@ EU Grants 871528 and 957073. \input{tex_out/svp64_appendix.tex} \chapter{SVP64 Quirks}\hypertarget{svux2fsvp64_quirks}{SVP64 Quirks} \input{tex_out/svp64_quirks.tex} -\chapter{Simple-V pseudocode}\hypertarget{svux2fsvpseudocode}{Simple-V pseudocode} +\chapter{Simple-V pseudocode}\hypertarget{svux2fpseudocode_simplev}{Simple-V pseudocode} \input{tex_out/pseudocode_simplev.tex} -\chapter{SVP64 Augmentation Table}\hypertarget{svux2faugtable}{SVP64 Augmentation Table} +\chapter{SVP64 Augmentation Table}\hypertarget{svux2fopcode_regs_deduped}{SVP64 Augmentation Table} \begin{landscape} { \fontsize{7}{9}\selectfont -- 2.30.2