From ea5150c1a9aa26263f500d59b97c5edc8f089b64 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 7 Jul 2022 16:26:12 +0100 Subject: [PATCH] add transcendentals to pdf spec --- openpower/Makefile | 8 ++++++++ openpower/simple_v_spec.tex | 2 ++ openpower/transcendentals.mdwn | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/openpower/Makefile b/openpower/Makefile index cd70e09fe..df918172f 100755 --- a/openpower/Makefile +++ b/openpower/Makefile @@ -33,6 +33,7 @@ SOURCE_TEX := tex_out/remap.tex tex_out/bitmanip.tex tex_out/vector_ops.tex \ tex_out/pseudocode_fpcvt.tex \ tex_out/pseudocode_svfixedarith.tex \ tex_out/big_integer_analysis.tex \ + tex_out/transcendentals.tex \ tex_out/vector_isas.tex \ tex_out/fields.tex @@ -235,6 +236,13 @@ tex_out/pseudocode_fixedshift.tex : $(ISA_DIR)/fixedshift.mdwn -N -o tex_out/pseudocode_fixedshift.tex \ $(ISA_DIR)/fixedshift.mdwn +tex_out/transcendentals.tex: transcendentals.mdwn + mkdir -p tex_out + ./mdwn_inline.py transcendentals.mdwn tex_out/transcendentals.mdwn + pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ + -N -o tex_out/transcendentals.tex tex_out/transcendentals.mdwn + tex_out/svp64_appendix.tex: sv/svp64/appendix.mdwn mkdir -p tex_out ./mdwn_inline.py sv/svp64/appendix.mdwn tex_out/appendix.mdwn diff --git a/openpower/simple_v_spec.tex b/openpower/simple_v_spec.tex index a5908ec2a..904a23cc4 100644 --- a/openpower/simple_v_spec.tex +++ b/openpower/simple_v_spec.tex @@ -225,6 +225,8 @@ Programme, requires full transparency. \input{tex_out/av_opcodes.tex} \chapter{Big Integer}\hypertarget{svux2fbiginteger}{} \input{tex_out/big_integer.tex} +\chapter{Transcendentals}\hypertarget{transcendentals}{} +\input{tex_out/transcendentals.tex} \begin{appendices} \chapter{Big Integer Analysis}\hypertarget{svux2fbigintegerux2fanalysis}{} diff --git a/openpower/transcendentals.mdwn b/openpower/transcendentals.mdwn index 271ed7b00..d44855d48 100644 --- a/openpower/transcendentals.mdwn +++ b/openpower/transcendentals.mdwn @@ -120,8 +120,6 @@ their Khronos OpenCL equivalents, and their IEEE754-2019 equivalents. 98% of the opcodes in this proposal that are in the IEEE754-2019 standard are present in the Khronos Extended Instruction Set. -Power opcode encodings see [[power_trans_ops]] - See and @@ -250,6 +248,8 @@ software emulation | FACOSH | inverse hyperbolic cos | rd = acosh(rs1) | Zfhyp | | FATANH | inverse hyperbolic tan | rd = atanh(rs1) | Zfhyp | +[[!inline pages="openpower/power_trans_ops" raw=yes ]] + # Subsets The full set is based on the Khronos OpenCL opcodes. If implemented -- 2.30.2