Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitmanip chapter integration. #1087

Merged
merged 26 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2fbc995
Added overview to bitmanip chapter.
wmat Aug 3, 2023
e9deaa6
Added zba to bitmanip chapter.
wmat Aug 3, 2023
cd539c3
Added in zbb to bitmanip chapter
wmat Aug 3, 2023
da9445f
Added logical with negate to bitmanip chapter.
wmat Aug 3, 2023
0555025
Adding count bits to bitmanip
wmat Aug 3, 2023
2480df3
Added popcount to bitmanip chapter.
wmat Aug 3, 2023
aa537e0
Added max min to bitmanip chapter.
wmat Aug 3, 2023
be406c1
Added sign extend to bitmanip chapter.
wmat Aug 3, 2023
1899804
Added bitwise rotation to bitmanip chapter.
wmat Aug 3, 2023
690902d
Adding OR combine to bitmanip chapter.
wmat Aug 3, 2023
aa4327f
Added Byte reverse to bitmanip chapter.
wmat Aug 3, 2023
83c2e34
Adding zbc to bitmanip chapter.
wmat Aug 3, 2023
7c5def0
Adding zbs to bitmanip chapter
wmat Aug 3, 2023
782de74
Adding zbkc to bitmanip.
wmat Aug 3, 2023
1280aea
Adding zbkx to bitmanip.
wmat Aug 3, 2023
ef0efbe
Adding zbkb to bitmanip
wmat Aug 3, 2023
efe57a0
Added all instructions to bitmanip chapter.
wmat Aug 3, 2023
d30efc9
Adding software optimization guide to bitmanip
wmat Aug 3, 2023
a7854a7
Removing priv latex build
wmat Jan 29, 2024
ed30489
Update src/b-st-ext.adoc
wmat Jan 30, 2024
c5f0e2d
Replace all included insns with the actual text.
wmat Mar 13, 2024
f44e0f0
Bumping version to 1.0.0
wmat Mar 14, 2024
77d541e
strlen: Replace PTRLOG with explicit 3
wmat Mar 20, 2024
0308439
show opcode as 7-bits like all other insn for unzip and zip #181
wmat Mar 20, 2024
8fdbc3b
Fix desc for signextend
wmat Mar 20, 2024
e5ce8f1
Merge branch 'main' into bitmanip
wmat Mar 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ ASCIIDOCTOR_OPTS := --attribute=mathematical-format=svg \
SRCDIR := ../src

# LaTeX source and related files
SRCS := $(wildcard $(SRCDIR)/latex/*.tex)
FIGS := $(wildcard $(SRCDIR)/latex/figs/*)
BIBS := $(SRCDIR)/latex/riscv-spec.bib
#SRCS := $(wildcard $(SRCDIR)/latex/*.tex)
#FIGS := $(wildcard $(SRCDIR)/latex/figs/*)
#BIBS := $(SRCDIR)/latex/riscv-spec.bib

# LaTeX build tools
PDFLATEX := TEXINPUTS=$(SRCDIR)/latex: pdflatex -interaction=nonstopmode -halt-on-error
BIBTEX := BIBINPUTS=$(SRCDIR)/latex: bibtex
#PDFLATEX := TEXINPUTS=$(SRCDIR)/latex: pdflatex -interaction=nonstopmode -halt-on-error
#BIBTEX := BIBINPUTS=$(SRCDIR)/latex: bibtex

# Temporary files to clean up for LaTeX build
JUNK := *.pdf *.aux *.log *.bbl *.blg *.toc *.out *.fdb_latexmk *.fls *.synctex.gz
Expand Down Expand Up @@ -78,13 +78,13 @@ unpriv-isa-asciidoc.html: $(SRCDIR)/riscv-unprivileged.adoc
asciidoctor $(ASCIIDOCTOR_OPTS) --out-file=$@ $<

# LaTeX build for Privileged ISA
priv-latex: riscv-privileged.pdf
#priv-latex: riscv-privileged.pdf

riscv-privileged.pdf: $(SRCDIR)/latex/riscv-privileged.tex $(SRCS) $(FIGS) $(BIBS)
$(PDFLATEX) riscv-privileged
$(BIBTEX) riscv-privileged
$(PDFLATEX) riscv-privileged
$(PDFLATEX) riscv-privileged
#riscv-privileged.pdf: $(SRCDIR)/latex/riscv-privileged.tex $(SRCS) $(FIGS) $(BIBS)
# $(PDFLATEX) riscv-privileged
# $(BIBTEX) riscv-privileged
# $(PDFLATEX) riscv-privileged
# $(PDFLATEX) riscv-privileged

clean:
@if [ -f priv-isa-asciidoc.pdf ]; then \
Expand All @@ -103,11 +103,11 @@ clean:
echo "Removing unpriv-isa-asciidoc.html"; \
rm -f unpriv-isa-asciidoc.html; \
fi
@echo "Cleaning up files from LaTeX build"
@cd $(SRCDIR)/latex; \
for file in $(JUNK); do \
if [ -f "$$file" ]; then \
echo "Removing $$file"; \
rm -f "$$file"; \
fi; \
done
# @echo "Cleaning up files from LaTeX build"
# @cd $(SRCDIR)/latex; \
# for file in $(JUNK); do \
# if [ -f "$$file" ]; then \
# echo "Removing $$file"; \
# rm -f "$$file"; \
# fi; \
# done
Loading