#!/usr/bin/make -f
SOURCE_TEX := tex_out/remap.tex tex_out/bitmanip.tex tex_out/vector_ops.tex \
tex_out/sv.tex tex_out/svp64_appendix.tex \
+ tex_out/overview.tex tex_out/svp64.tex \
+ tex_out/compliancy_levels.tex tex_out/svp64_quirks.tex \
+ tex_out/sprs.tex tex_out/opcode_regs_deduped.tex \
+ tex_out/normal.tex tex_out/ldst.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/fcvt.tex tex_out/fclass.tex \
+ tex_out/int_fp_mv.tex tex_out/av_opcodes.tex \
+ tex_out/big_integer.tex \
tex_out/pseudocode_svfparith.tex \
tex_out/pseudocode_fixedarith.tex \
tex_out/pseudocode_fixedlogical.tex \
tex: $(SOURCE_TEX)
mkdir -p tex_out
+
+tex_out/vector_isas.tex : sv/vector_isa_comparison.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/overview.tex sv/overview.mdwn
+ -N -o tex_out/vector_isas.tex sv/vector_isa_comparison.mdwn
+
+tex_out/big_integer_analysis.tex : sv/biginteger/analysis.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/svp64.tex sv/svp64.mdwn
+ -N -o tex_out/big_integer_analysis.tex sv/biginteger/analysis.mdwn
+
+tex_out/pseudocode_fixedlogical.tex : ../../openpower-isa/openpower/isa/fixedlogical.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn
+ -N -o tex_out/pseudocode_fixedlogical.tex \
+ ../../openpower-isa/openpower/isa/fixedlogical.mdwn
+
+tex_out/pseudocode_fixedarith.tex : ../../openpower-isa/openpower/isa/fixedarith.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/svp64_quirks.tex sv/svp64_quirks.mdwn
+ -N -o tex_out/pseudocode_fixedarith.tex \
+ ../../openpower-isa/openpower/isa/fixedarith.mdwn
+
+tex_out/pseudocode_svfixedarith.tex : ../../openpower-isa/openpower/isa/svfixedarith.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/sprs.tex sv/sprs.mdwn
+ -N -o tex_out/pseudocode_svfixedarith.tex \
+ ../../openpower-isa/openpower/isa/svfixedarith.mdwn
+
+tex_out/pseudocode_svfparith.tex : ../../openpower-isa/openpower/isa/svfparith.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/opcode_regs_deduped.tex opcode_regs_deduped.mdwn
+ -N -o tex_out/pseudocode_svfparith.tex \
+ ../../openpower-isa/openpower/isa/svfparith.mdwn
+
+tex_out/sv.tex : sv.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/normal.tex sv/normal.mdwn
+ -N -o tex_out/sv.tex sv.mdwn
+
+tex_out/overview.tex : sv/overview.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/ldst.tex sv/ldst.mdwn
+ -N -o tex_out/overview.tex sv/overview.mdwn
+
+tex_out/svp64.tex : sv/svp64.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/branches.tex sv/branches.mdwn
+ -N -o tex_out/svp64.tex sv/svp64.mdwn
+
+tex_out/compliancy_levels.tex : sv/compliancy_levels.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/cr_ops.tex sv/cr_ops.mdwn
+ -N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn
+
+tex_out/svp64_quirks.tex : sv/svp64_quirks.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/setvl.tex sv/setvl.mdwn
+ -N -o tex_out/svp64_quirks.tex sv/svp64_quirks.mdwn
+
+tex_out/sprs.tex : sv/sprs.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/svstep.tex sv/svstep.mdwn
+ -N -o tex_out/sprs.tex sv/sprs.mdwn
+
+tex_out/opcode_regs_deduped.tex : opcode_regs_deduped.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
+ -N -o tex_out/opcode_regs_deduped.tex opcode_regs_deduped.mdwn
+
+tex_out/normal.tex : sv/normal.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/mv_vec.tex sv/mv.vec.mdwn
+ -N -o tex_out/normal.tex sv/normal.mdwn
+
+tex_out/ldst.tex : sv/ldst.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/pseudocode_simplev.tex \
- ../../openpower-isa/openpower/isa/simplev.mdwn
+ -N -o tex_out/ldst.tex sv/ldst.mdwn
+
+tex_out/branches.tex : sv/branches.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/cr_int_predication.tex sv/cr_int_predication.mdwn
+ -N -o tex_out/branches.tex sv/branches.mdwn
+
+tex_out/cr_ops.tex : sv/cr_ops.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/fcvt.tex sv/fcvt.mdwn
+ -N -o tex_out/cr_ops.tex sv/cr_ops.mdwn
+
+tex_out/setvl.tex : sv/setvl.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/fclass.tex sv/fclass.mdwn
+ -N -o tex_out/setvl.tex sv/setvl.mdwn
+
+tex_out/svstep.tex : sv/svstep.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/int_fp_mv.tex sv/int_fp_mv.mdwn
+ -N -o tex_out/svstep.tex sv/svstep.mdwn
+
+tex_out/mv_swizzle.tex : sv/mv.swizzle.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/av_opcodes.tex sv/av_opcodes.mdwn
+ -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn
+
+tex_out/mv_vec.tex : sv/mv.vec.mdwn
+ mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/big_integer.tex sv/biginteger.mdwn
+ -N -o tex_out/mv_vec.tex sv/mv.vec.mdwn
-tex_out/vector_isas.tex : sv/vector_isa_comparison.mdwn
+tex_out/pseudocode_simplev.tex : ../../openpower-isa/openpower/isa/simplev.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/vector_isas.tex sv/vector_isa_comparison.mdwn
+ -N -o tex_out/pseudocode_simplev.tex \
+ ../../openpower-isa/openpower/isa/simplev.mdwn
-tex_out/big_integer_analysis.tex : sv/biginteger/analysis.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 \
--filter pandoc_img.py \
- -N -o tex_out/big_integer_analysis.tex sv/biginteger/analysis.mdwn
+ -N -o tex_out/cr_int_predication.tex sv/cr_int_predication.mdwn
-tex_out/pseudocode_fixedlogical.tex : ../../openpower-isa/openpower/isa/fixedlogical.mdwn
+tex_out/fcvt.tex : sv/fcvt.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/pseudocode_fixedlogical.tex \
- ../../openpower-isa/openpower/isa/fixedlogical.mdwn
+ -N -o tex_out/fcvt.tex sv/fcvt.mdwn
-tex_out/pseudocode_fixedarith.tex : ../../openpower-isa/openpower/isa/fixedarith.mdwn
+tex_out/fclass.tex : sv/fclass.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/pseudocode_fixedarith.tex \
- ../../openpower-isa/openpower/isa/fixedarith.mdwn
+ -N -o tex_out/fclass.tex sv/fclass.mdwn
-tex_out/pseudocode_svfixedarith.tex : ../../openpower-isa/openpower/isa/svfixedarith.mdwn
+tex_out/int_fp_mv.tex : sv/int_fp_mv.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/pseudocode_svfixedarith.tex \
- ../../openpower-isa/openpower/isa/svfixedarith.mdwn
+ -N -o tex_out/int_fp_mv.tex sv/int_fp_mv.mdwn
-tex_out/pseudocode_svfparith.tex : ../../openpower-isa/openpower/isa/svfparith.mdwn
+tex_out/av_opcodes.tex : sv/av_opcodes.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/pseudocode_svfparith.tex \
- ../../openpower-isa/openpower/isa/svfparith.mdwn
+ -N -o tex_out/av_opcodes.tex sv/av_opcodes.mdwn
-tex_out/sv.tex : sv.mdwn
+tex_out/big_integer.tex : sv/biginteger.mdwn
mkdir -p tex_out
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/sv.tex sv.mdwn
+ -N -o tex_out/big_integer.tex sv/biginteger.mdwn
tex_out/svp64_appendix.tex: sv/svp64/appendix.mdwn
mkdir -p tex_out