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

General overhaul of events and spec text #18

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c5b0c99
add new cache event/metric files, replacing instruction-centric events
bcstrongx Nov 5, 2024
e7138cf
add description of the CACHE event hierarchy
bcstrongx Nov 5, 2024
56b170d
create adoc event tables as part of build, remove the build adoc tabl…
bcstrongx Nov 5, 2024
9ad169c
account for new cache event/metric files when generating adoc tables
bcstrongx Nov 5, 2024
455f03e
Several changes to the CACHE events section:
bcstrongx Nov 12, 2024
075c70e
adjust CACHE events to match spec hierarchy changes
bcstrongx Nov 12, 2024
3cf4d88
consolidate instruction events in inst.json, and describe the hierarc…
bcstrongx Nov 17, 2024
5ab2ebd
remove reference to opcode types for MISPRED, which inadvertently inc…
bcstrongx Dec 3, 2024
20a1138
fix INST addr/data source events to match spec body, removing .ACCESS…
bcstrongx Dec 3, 2024
59e263f
update filename lists
bcstrongx Dec 3, 2024
73895fd
fix links to CACHE events section, remove stale RVV sections
bcstrongx Dec 3, 2024
8f4c2f0
restore RVV event files, still need element events
bcstrongx Dec 4, 2024
d6ba13a
FIXME note to restore RVV element events/metrics
bcstrongx Dec 4, 2024
950f8b7
remove RVV instr events (moved to inst.json), and revise element even…
bcstrongx Dec 13, 2024
3b2a8f8
clarify that element events are arithmetic
bcstrongx Dec 14, 2024
b332069
revise TLB events to be TLB access oriented, rather than instruction …
bcstrongx Dec 16, 2024
b1cc5da
convert RVV metrics for RVV event changes, for real this time
bcstrongx Dec 16, 2024
e096486
update TLB metrics to use new TLB events
bcstrongx Dec 16, 2024
015c0d2
revise exception event names
bcstrongx Dec 16, 2024
93bce3c
add trap return instructions event
bcstrongx Dec 16, 2024
7164f19
add ldst.json file for load and store uop/operation events
bcstrongx Dec 16, 2024
2c8bc23
add fetch.json for instruction address and data source events
bcstrongx Dec 16, 2024
c176cae
add FETCH and LDST event sections, add TLB event breakdown, and other…
bcstrongx Dec 16, 2024
57e9bae
add L1I/L1D TLBs to events, update tlb_metrics to match events, add I…
bcstrongx Dec 16, 2024
77c576f
remove INST.* events from general.json
bcstrongx Dec 16, 2024
41b1615
remove addressed FIXME
bcstrongx Dec 16, 2024
be19af7
pick up all json files in event_files directory, regardless of name. …
bcstrongx Dec 16, 2024
a92c776
revise intro
bcstrongx Dec 16, 2024
7cea054
rename Groups to Event Groups
bcstrongx Dec 16, 2024
31a378b
Delete event_files/rvv_spec.json
bcstrongx Dec 16, 2024
7f3188a
remove .RET from fetch events
bcstrongx Jan 9, 2025
03b5d80
clarify arithmetic RVV events
bcstrongx Jan 9, 2025
0feaa4b
remove files that have been replaced
bcstrongx Jan 9, 2025
2479e52
clarify I vs D in cache naming
bcstrongx Jan 9, 2025
a927071
fix typo in TLB section
bcstrongx Jan 9, 2025
a424621
fix TLB accesses to be LOAD/STORE rather than LD/ST, for consistency
bcstrongx Jan 9, 2025
c2e1eed
add CTR.UPDATE and TRACE.STALL.CYCLES events
bcstrongx Jan 16, 2025
84f78c9
add new FRONTEND_BOUND L2 events, revise top-down diagram, add spec d…
bcstrongx Jan 22, 2025
2f8d997
new TMA diagram
bcstrongx Jan 22, 2025
645b048
add spec descriptions of TMA L2+ events, refine other TMA descs
bcstrongx Jan 22, 2025
631839e
remove extra comma after last event
bcstrongx Jan 22, 2025
dd494af
call out that all events are (currently) optional
bcstrongx Jan 22, 2025
04afbe1
fix warning block
bcstrongx Jan 22, 2025
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*.pdf

adoc_event_tables
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,19 @@ build:

build-container:
@echo "Starting build inside Docker container..."
mkdir -p adoc_event_tables
python3 ./gen_event_tables_adocs.py
$(DOCKER_RUN) /bin/sh -c "$(ASCIIDOCTOR_PDF) $(OPTIONS) $(REQUIRES) --out-file=$(PDF_RESULT) $(HEADER_SOURCE)"
@echo "Build completed successfully inside Docker container."

build-no-container:
@echo "Starting build..."
mkdir -p adoc_event_tables
python3 ./gen_event_tables_adocs.py
$(ASCIIDOCTOR_PDF) $(OPTIONS) $(REQUIRES) --out-file=$(PDF_RESULT) $(HEADER_SOURCE)
@echo "Build completed successfully."

clean:
@echo "Cleaning up generated files..."
rm -f $(PDF_RESULT)
rm -rf $(PDF_RESULT) adoc_event_tables
@echo "Cleanup completed."
26 changes: 0 additions & 26 deletions adoc_event_tables/cache_retired.adoc

This file was deleted.

16 changes: 0 additions & 16 deletions adoc_event_tables/cache_retired_metrics.adoc

This file was deleted.

61 changes: 0 additions & 61 deletions adoc_event_tables/cache_spec.adoc

This file was deleted.

32 changes: 0 additions & 32 deletions adoc_event_tables/cache_spec_metrics.adoc

This file was deleted.

22 changes: 0 additions & 22 deletions adoc_event_tables/general.adoc

This file was deleted.

Loading
Loading