--filter pandoc_img.py \
-N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
+tex_out/fields.tex : sv/fields.mdwn
+ mkdir -p tex_out
+ ./mdwn_inline.py sv/fields.mdwn tex_out/fields.mdwn
+ pandoc -f markdown -t latex --top-level-division=section \
+ --filter pandoc_img.py \
+ -N -o tex_out/fields.tex tex_out/fields.mdwn
+
tex_out/mv_vec.tex : sv/mv.vec.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
with open("../%s" % fname) as inc:
o.write(inc.read())
else:
- with open("../%s.mdwn" % fname) as inc:
- o.write(inc.read())
+ if fname.endswith(".mdwn"):
+ with open("../%s" % fname) as inc:
+ o.write(inc.read())
+ elif fname == 'openpower/isatables/fields.text':
+ with open("../../openpower-isa/%s" % fname) as inc:
+ o.write(inc.read())
+ else:
+ with open("../%s.mdwn" % fname) as inc:
+ o.write(inc.read())
\part{Scalable Vectors}
+\chapter{Fields and Forms}
+\hypertarget{svux2ffields}{}
+\input{tex_out/fields.tex}
\chapter{Scalable Vectors for the Power ISA}
\hypertarget{svux2fscalvecpowisa}{}
\hypertarget{SVux7csv}{}
[power_fields.py](https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/power_fields.py;hb=HEAD)
Some additions have been made for DRAFT Scalar instructions Forms:
-SVM-Form, BM2-Form.
+BM2-Form, TLI-Form and others. Other additions are for SVP64 such
+as SVM-Form, SVL-Form.
```
[[!inline pages="openpower/isatables/fields.text" raw="yes" ]]