8000 GH-116422: Tier2 hot/cold splitting by markshannon · Pull Request #116813 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-116422: Tier2 hot/cold splitting #116813

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

Merged
merged 31 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9a4879d
Subdivide uop instruction into deopt, exit and error targets
markshannon Mar 12, 2024
b6b6426
Pass length of trace around.
markshannon Mar 12, 2024
20a7afe
Hot cold splitting. Work in progress
markshannon Mar 12, 2024
801062d
Further progress on hot-cold- splitting
markshannon Mar 12, 2024
53b90bc
Change error exit code to fix length. All test passing for T2 interpr…
markshannon Mar 14, 2024
aecdfc2
Do not allow eval breaker and jumps in same T2 micro-op
markshannon Mar 14, 2024
d365f58
Add JIT support
markshannon Mar 14, 2024
814d0fc
Merge branch 'main' into tier2-hot-cold-splitting
markshannon Mar 14, 2024
97428fa
Revert unneeded change
markshannon Mar 14, 2024
3c2154f
Add missing return annotation
markshannon Mar 14, 2024
a74756d
Better formatting
markshannon Mar 14, 2024
817a590
Fix assert
markshannon Mar 14, 2024
197abba
Merge branch 'main' into tier2-hot-cold-splitting
markshannon Mar 14, 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
Prev Previous commit
Next Next commit
Address review comments
  • Loading branch information
markshannon committed Mar 20, 2024
commit fa5d14b10b8c5de688d90118847f20de9f511da8
197 changes: 98 additions & 99 deletions Include/internal/pycore_uop_ids.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions Include/internal/pycore_uop_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -4215,11 +4215,7 @@ dummy_func(
EXIT_TO_TRACE();
}

tier2 op(_ERROR_0, (--)) {
GOTO_UNWIND();
}

tier2 op(_ERROR_N, (values[oparg] --)) {
tier2 op(_ERROR_POP_N, (values[oparg] --)) {
(void)values;
SYNC_SP();
GOTO_UNWIND();
Expand Down
7 changes: 1 addition & 6 deletions Python/executor_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
0