← 返回首页
GH-115802: Use the GHC calling convention in JIT code by brandtbucher · Pull Request #118287 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

GH-115802: Use the GHC calling convention in JIT code#118287

Merged
brandtbucher merged 11 commits into
python:mainfrom
brandtbucher:justin-ghccc
May 1, 2024
Merged

GH-115802: Use the GHC calling convention in JIT code#118287
brandtbucher merged 11 commits into
python:mainfrom
brandtbucher:justin-ghccc

Conversation

brandtbucher commented Apr 25, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Looks like a 2-3% improvement overall. This is actually a pretty big win, since we're currently only spending 8-10% of our time in the JIT.

Gains on 32-bit Windows should be even better, since we can pass all continuation parameters in registers now.

brandtbucher self-assigned this Apr 25, 2024
bedevere-app Bot mentioned this pull request Apr 25, 2024
13 tasks
brandtbucher added performance Performance or resource usage skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Apr 25, 2024
brandtbucher marked this pull request as ready for review April 25, 2024 16:04
Comment thread Python/jit.c Outdated Show resolved Hide resolved
Comment thread Python/jit.c Show resolved Hide resolved
Comment thread Python/jit.c Outdated Show resolved Hide resolved
Comment thread Tools/jit/_targets.py Show resolved Hide resolved
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

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage skip news topic-JIT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.