add more inlines to PDF
[libreriscv.git] / openpower / Makefile
1 #!/usr/bin/make -f
2
3 tex:
4 mkdir -p tex_out
5 pandoc -f markdown -t latex --top-level-division=section \
6 --filter pandoc_img.py \
7 -N -o tex_out/sv.tex sv.mdwn
8 pandoc -f markdown -t latex --top-level-division=section \
9 --filter pandoc_img.py \
10 -N -o tex_out/vector_isas.tex sv/vector_isa_comparison.mdwn
11 pandoc -f markdown -t latex --top-level-division=section \
12 --filter pandoc_img.py \
13 -N -o tex_out/overview.tex sv/overview.mdwn
14 pandoc -f markdown -t latex --top-level-division=section \
15 --filter pandoc_img.py \
16 -N -o tex_out/svp64.tex sv/svp64.mdwn
17 ./mdwn_inline.py sv/svp64/appendix.mdwn tex_out/appendix.mdwn
18 pandoc -f markdown -t latex --top-level-division=section \
19 --filter pandoc_img.py \
20 -N -o tex_out/svp64_appendix.tex tex_out/appendix.mdwn
21 pandoc -f markdown -t latex --top-level-division=section \
22 --filter pandoc_img.py \
23 -N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn
24 pandoc -f markdown -t latex --top-level-division=section \
25 --filter pandoc_img.py \
26 -N -o tex_out/svp64_quirks.tex sv/svp64_quirks.mdwn
27 pandoc -f markdown -t latex --top-level-division=section \
28 --filter pandoc_img.py \
29 -N -o tex_out/sprs.tex sv/sprs.mdwn
30 pandoc -f markdown -t latex --top-level-division=section \
31 --filter pandoc_img.py \
32 -N -o tex_out/opcode_regs_deduped.tex opcode_regs_deduped.mdwn
33 pandoc -f markdown -t latex --top-level-division=section \
34 --filter pandoc_img.py \
35 -N -o tex_out/normal.tex sv/normal.mdwn
36 pandoc -f markdown -t latex --top-level-division=section \
37 --filter pandoc_img.py \
38 -N -o tex_out/ldst.tex sv/ldst.mdwn
39 pandoc -f markdown -t latex --top-level-division=section \
40 --filter pandoc_img.py \
41 -N -o tex_out/branches.tex sv/branches.mdwn
42 pandoc -f markdown -t latex --top-level-division=section \
43 --filter pandoc_img.py \
44 -N -o tex_out/cr_ops.tex sv/cr_ops.mdwn
45 pandoc -f markdown -t latex --top-level-division=section \
46 --filter pandoc_img.py \
47 -N -o tex_out/setvl.tex sv/setvl.mdwn
48 pandoc -f markdown -t latex --top-level-division=section \
49 --filter pandoc_img.py \
50 -N -o tex_out/svstep.tex sv/svstep.mdwn
51 ./mdwn_inline.py sv/remap.mdwn tex_out/remap.mdwn
52 pandoc -f markdown -t latex --top-level-division=section \
53 --filter pandoc_img.py \
54 -N -o tex_out/remap.tex tex_out/remap.mdwn
55 pandoc -f markdown -t latex --top-level-division=section \
56 --filter pandoc_img.py \
57 -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
58 pandoc -f markdown -t latex --top-level-division=section \
59 --filter pandoc_img.py \
60 -N -o tex_out/mv_vec.tex sv/mv.vec.mdwn
61 pandoc -f markdown -t latex --top-level-division=section \
62 --filter pandoc_img.py \
63 -N -o tex_out/pseudocode_simplev.tex \
64 ../../openpower-isa/openpower/isa/simplev.mdwn
65 ./mdwn_inline.py sv/vector_ops.mdwn tex_out/vector_ops.mdwn
66 pandoc -f markdown -t latex --top-level-division=section \
67 --filter pandoc_img.py \
68 -N -o tex_out/vector_ops.tex tex_out/vector_ops.mdwn
69 pandoc -f markdown -t latex --top-level-division=section \
70 --filter pandoc_img.py \
71 -N -o tex_out/cr_int_predication.tex sv/cr_int_predication.mdwn
72 ./mdwn_inline.py sv/bitmanip.mdwn tex_out/bitmanip.mdwn
73 pandoc -f markdown -t latex --top-level-division=section \
74 --filter pandoc_img.py \
75 -N -o tex_out/bitmanip.tex tex_out/bitmanip.mdwn
76 pandoc -f markdown -t latex --top-level-division=section \
77 --filter pandoc_img.py \
78 -N -o tex_out/fcvt.tex sv/fcvt.mdwn
79 pandoc -f markdown -t latex --top-level-division=section \
80 --filter pandoc_img.py \
81 -N -o tex_out/fclass.tex sv/fclass.mdwn
82 pandoc -f markdown -t latex --top-level-division=section \
83 --filter pandoc_img.py \
84 -N -o tex_out/int_fp_mv.tex sv/int_fp_mv.mdwn
85 pandoc -f markdown -t latex --top-level-division=section \
86 --filter pandoc_img.py \
87 -N -o tex_out/av_opcodes.tex sv/av_opcodes.mdwn
88 pandoc -f markdown -t latex --top-level-division=section \
89 --filter pandoc_img.py \
90 -N -o tex_out/big_integer.tex sv/biginteger.mdwn
91 pandoc -f markdown -t latex --top-level-division=section \
92 --filter pandoc_img.py \
93 -N -o tex_out/big_integer_analysis.tex sv/biginteger/analysis.mdwn
94 pandoc -f markdown -t latex --top-level-division=section \
95 --filter pandoc_img.py \
96 -N -o tex_out/pseudocode_svfixedarith.tex \
97 ../../openpower-isa/openpower/isa/svfixedarith.mdwn
98 pandoc -f markdown -t latex --top-level-division=section \
99 --filter pandoc_img.py \
100 -N -o tex_out/pseudocode_svfparith.tex \
101 ../../openpower-isa/openpower/isa/svfparith.mdwn
102
103
104 pdf:
105 pdflatex -synctex=1 -interaction=nonstopmode simple_v_spec.tex
106
107 upload: tex pdf
108 rsync -HPavz simple_v_spec.pdf \
109 libre-soc.org:/var/www/ftp.libre-riscv.org