FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-139109: Dynamic opcode targets by Fidget-Spinner · Pull Request #139111 · python/cpython · GitHub

/ cpython Public

gh-139109: Dynamic opcode targets - #139111

Merged
Fidget-Spinner merged 7 commits into
python:mainfrom
Fidget-Spinner:dynamic_opcode_targets
Sep 18, 2025
Merged

gh-139109: Dynamic opcode targets#139111
Fidget-Spinner merged 7 commits into
python:mainfrom
Fidget-Spinner:dynamic_opcode_targets

Conversation

Fidget-Spinner commented Sep 18, 2025
edited
Loading

Copy link
Copy Markdown
Member

There is no taking up of an additional register on the computed goto build in _PyEval_EvalFrameDefault as the instruction dispatch table is already kept in a register on x86_64.

There is no regression in performance on both linux x86_64 and macOS AArch64 for tailcalling builds https://github.com/facebookexperimental/free-threading-benchmarking/tree/main/results/bm-20250917-3.15.0a0-178b03e-CLANG

markshannon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good.

Fidget-Spinner merged commit a269e69 into python:main Sep 18, 2025
61 checks passed
Fidget-Spinner deleted the dynamic_opcode_targets branch September 18, 2025 13:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL