René's URL Explorer Experiment


Title: gh-150424: Widen specialized int fast paths to full int64 range by KRRT7 · Pull Request #150425 · python/cpython · GitHub

Open Graph Title: gh-150424: Widen specialized int fast paths to full int64 range by KRRT7 · Pull Request #150425 · python/cpython

X Title: gh-150424: Widen specialized int fast paths to full int64 range by KRRT7 · Pull Request #150425 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Fixes gh-150424. This PR builds on the initial widening work by splitting the specialised `int` opcodes into two tiers: Compact (`BINARY_OP_{ADD,SUBTRACT,MULTIPLY}_INT`): operands are already in C...

X Description: Fixes gh-150424. This PR builds on the initial widening work by splitting the specialised `int` opcodes into two tiers: Compact (`BINARY_OP_{ADD,SUBTRACT,MULTIPLY}_INT`): operands are already in C...

Opengraph URL: https://github.com/python/cpython/pull/150425

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:e00e9951-733d-26c8-b139-8141d184e817
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9218:350D1F:22598F:2E69D6:6AECC4A6
html-safe-noncef047b575159a12f918c75e2ffe51088e6059a239fc94be62b4c225e95885205e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjE4OjM1MEQxRjoyMjU5OEY6MkU2OUQ2OjZBRUNDNEE2IiwidmlzaXRvcl9pZCI6IjgzNjY5NTAyODU2MDY0MzgwNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4a92e7a326606c0d1670630ebcf94d5f6f9152f554015c61367837f887c9e3f2
hovercard-subject-tagpull_request:3743714915
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/150425/commits
twitter:imagehttps://opengraph.githubassets.com/4b0c8bf3b7d6c2d6c7f9218ba02f843288650b71e63d52d35ae6b2f786b1a893/python/cpython/pull/150425
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b0c8bf3b7d6c2d6c7f9218ba02f843288650b71e63d52d35ae6b2f786b1a893/python/cpython/pull/150425
og:image:altFixes gh-150424. This PR builds on the initial widening work by splitting the specialised `int` opcodes into two tiers: Compact (`BINARY_OP_{ADD,SUBTRACT,MULTIPLY}_INT`): operands are already in C...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKRRT7
hostnamegithub.com
expected-hostnamegithub.com
Nonedc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb139f0bf57b59bf9a8c4abb0849924d6c6ca559
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/150425/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150425%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150425%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/150425/commits
Reloadhttps://github.com/python/cpython/pull/150425/commits
Reloadhttps://github.com/python/cpython/pull/150425/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/pulse
https://github.com/python/cpython
KRRT7https://github.com/KRRT7
python:mainhttps://github.com/python/cpython/tree/main
KRRT7:jit-wide-int-fastpathhttps://github.com/KRRT7/cpython/tree/jit-wide-int-fastpath
Conversationhttps://github.com/python/cpython/pull/150425
Commits26 (26)https://github.com/python/cpython/pull/150425/commits
Checkshttps://github.com/python/cpython/pull/150425/checks
Files changedhttps://github.com/python/cpython/pull/150425/files
gh-150424: Widen specialized int fast paths to full int64 rangehttps://github.com/python/cpython/pull/150425/commits#top
KRRT7https://github.com/KRRT7
python:mainhttps://github.com/python/cpython/tree/main
KRRT7:jit-wide-int-fastpathhttps://github.com/KRRT7/cpython/tree/jit-wide-int-fastpath
JIT: widen int fast path to full int64 rangehttps://github.com/python/cpython/pull/150425/commits/eb67609cb9746726e3d5e3fefaee3f65d9a25de8
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
eb67609https://github.com/python/cpython/pull/150425/commits/eb67609cb9746726e3d5e3fefaee3f65d9a25de8
https://github.com/python/cpython/tree/eb67609cb9746726e3d5e3fefaee3f65d9a25de8
cleanuphttps://github.com/python/cpython/pull/150425/commits/1181bf010a58d4e14b4b5ca1e3935f6cf1f121ce
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
1181bf0https://github.com/python/cpython/pull/150425/commits/1181bf010a58d4e14b4b5ca1e3935f6cf1f121ce
https://github.com/python/cpython/tree/1181bf010a58d4e14b4b5ca1e3935f6cf1f121ce
Fix widened JIT int fast pathshttps://github.com/python/cpython/pull/150425/commits/8624d26f622613cbdd081c1abb6400824c9c2f2a
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
8624d26https://github.com/python/cpython/pull/150425/commits/8624d26f622613cbdd081c1abb6400824c9c2f2a
https://github.com/python/cpython/tree/8624d26f622613cbdd081c1abb6400824c9c2f2a
Add widened JIT int boundary testshttps://github.com/python/cpython/pull/150425/commits/91854c29b9a85e7799370b6d8b0eb98f710115b4
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
91854c2https://github.com/python/cpython/pull/150425/commits/91854c29b9a85e7799370b6d8b0eb98f710115b4
https://github.com/python/cpython/tree/91854c29b9a85e7799370b6d8b0eb98f710115b4
Merge branch 'main' into jit-wide-int-fastpathhttps://github.com/python/cpython/pull/150425/commits/e0089f7979a93e59e3eed733cb095622da72a34d
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
e0089f7https://github.com/python/cpython/pull/150425/commits/e0089f7979a93e59e3eed733cb095622da72a34d
https://github.com/python/cpython/tree/e0089f7979a93e59e3eed733cb095622da72a34d
fix failing unit testshttps://github.com/python/cpython/pull/150425/commits/160d3cd75a1034583d358341cc6cc938229fae36
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
160d3cdhttps://github.com/python/cpython/pull/150425/commits/160d3cd75a1034583d358341cc6cc938229fae36
https://github.com/python/cpython/tree/160d3cd75a1034583d358341cc6cc938229fae36
Merge branch 'main' into jit-wide-int-fastpathhttps://github.com/python/cpython/pull/150425/commits/32d67587a34ad0a372d2cee969d155782b863507
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
32d6758https://github.com/python/cpython/pull/150425/commits/32d67587a34ad0a372d2cee969d155782b863507
https://github.com/python/cpython/tree/32d67587a34ad0a372d2cee969d155782b863507
WIPhttps://github.com/python/cpython/pull/150425/commits/a67837c48552d1afe2c64edf84114f924fb299a7
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
a67837chttps://github.com/python/cpython/pull/150425/commits/a67837c48552d1afe2c64edf84114f924fb299a7
https://github.com/python/cpython/tree/a67837c48552d1afe2c64edf84114f924fb299a7
Merge branch 'main' into jit-wide-int-fastpathhttps://github.com/python/cpython/pull/150425/commits/fd4549254f10089b34116f0c23985edd2215e8bc
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
fd45492https://github.com/python/cpython/pull/150425/commits/fd4549254f10089b34116f0c23985edd2215e8bc
https://github.com/python/cpython/tree/fd4549254f10089b34116f0c23985edd2215e8bc
Update Misc/NEWS.d/next/Core_and_Builtins/2026-05-28-15-00-00.gh-issue-150424.jit-wide-int-fastpath.rsthttps://github.com/python/cpython/pull/150425/commits/1d667d4a773e836b508d69ae88cf58858b66e2a6
KRRT7https://github.com/python/cpython/commits?author=KRRT7
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
1d667d4https://github.com/python/cpython/pull/150425/commits/1d667d4a773e836b508d69ae88cf58858b66e2a6
https://github.com/python/cpython/tree/1d667d4a773e836b508d69ae88cf58858b66e2a6
Update pycore_long.hhttps://github.com/python/cpython/pull/150425/commits/41ad8fb1389aed3f5b241e67c566ebb9a20c90ad
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
41ad8fbhttps://github.com/python/cpython/pull/150425/commits/41ad8fb1389aed3f5b241e67c566ebb9a20c90ad
https://github.com/python/cpython/tree/41ad8fb1389aed3f5b241e67c566ebb9a20c90ad
Restore compact fast path in _PyCompactLong_{Add,Subtract,Multiply}; optimise helpershttps://github.com/python/cpython/pull/150425/commits/d549674628a67cc412d6a899820a32070cc4d7e3
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
d549674https://github.com/python/cpython/pull/150425/commits/d549674628a67cc412d6a899820a32070cc4d7e3
https://github.com/python/cpython/tree/d549674628a67cc412d6a899820a32070cc4d7e3
Split BINARY_OP_ADD/SUBTRACT/MULTIPLY_INT into compact and wide specialisations; add wide guards, inplace ops, and optimizer substitutions; inline allocation helpers for zero-overhead compact pathhttps://github.com/python/cpython/pull/150425/commits/094a60ab6a0aed918d00162dcd1729bf049fafb6
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
094a60ahttps://github.com/python/cpython/pull/150425/commits/094a60ab6a0aed918d00162dcd1729bf049fafb6
https://github.com/python/cpython/tree/094a60ab6a0aed918d00162dcd1729bf049fafb6
Update jit_int_benchmark_pyperf.pyhttps://github.com/python/cpython/pull/150425/commits/87696597bd29d9a464f7b2635d048ca10cfab386
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
8769659https://github.com/python/cpython/pull/150425/commits/87696597bd29d9a464f7b2635d048ca10cfab386
https://github.com/python/cpython/tree/87696597bd29d9a464f7b2635d048ca10cfab386
Merge branch 'main' into jit-wide-int-fastpathhttps://github.com/python/cpython/pull/150425/commits/7775456179acb8dadec4a6c538f38deb1b139d47
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
7775456https://github.com/python/cpython/pull/150425/commits/7775456179acb8dadec4a6c538f38deb1b139d47
https://github.com/python/cpython/tree/7775456179acb8dadec4a6c538f38deb1b139d47
fix failing testshttps://github.com/python/cpython/pull/150425/commits/f20605549982755272a98efda3b8c2f8f42c2fb7
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
f206055https://github.com/python/cpython/pull/150425/commits/f20605549982755272a98efda3b8c2f8f42c2fb7
https://github.com/python/cpython/tree/f20605549982755272a98efda3b8c2f8f42c2fb7
Fix wide int guard range and optimizer factshttps://github.com/python/cpython/pull/150425/commits/39ae2f28dc882f12a3cd5304a84b0ef2d1e12479
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
39ae2f2https://github.com/python/cpython/pull/150425/commits/39ae2f28dc882f12a3cd5304a84b0ef2d1e12479
https://github.com/python/cpython/tree/39ae2f28dc882f12a3cd5304a84b0ef2d1e12479
Rename int64 guard helper and drop simple benchmarkhttps://github.com/python/cpython/pull/150425/commits/f35d39b8e84dce5c83f9ed553f808a6c0d504a86
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
f35d39bhttps://github.com/python/cpython/pull/150425/commits/f35d39b8e84dce5c83f9ed553f808a6c0d504a86
https://github.com/python/cpython/tree/f35d39b8e84dce5c83f9ed553f808a6c0d504a86
Separate compact int and int64 optimizer factshttps://github.com/python/cpython/pull/150425/commits/4d495669265aad194424123aa9fa7ba22ae8ab85
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
4d49566https://github.com/python/cpython/pull/150425/commits/4d495669265aad194424123aa9fa7ba22ae8ab85
https://github.com/python/cpython/tree/4d495669265aad194424123aa9fa7ba22ae8ab85
Merge branch 'main' into jit-wide-int-fastpathhttps://github.com/python/cpython/pull/150425/commits/e6fd6d83d501dd37aa38ebe0ad43a406d2b94bb0
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
e6fd6d8https://github.com/python/cpython/pull/150425/commits/e6fd6d83d501dd37aa38ebe0ad43a406d2b94bb0
https://github.com/python/cpython/tree/e6fd6d83d501dd37aa38ebe0ad43a406d2b94bb0
tier1-merged tier2-split: single BINARY_OP_ADD_INT with optimizer guard substitutionhttps://github.com/python/cpython/pull/150425/commits/d4a355c68beca7ebbf05029a6d5eb9257af1df15
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
d4a355chttps://github.com/python/cpython/pull/150425/commits/d4a355c68beca7ebbf05029a6d5eb9257af1df15
https://github.com/python/cpython/tree/d4a355c68beca7ebbf05029a6d5eb9257af1df15
Port merged design from explore/merged-on-mainhttps://github.com/python/cpython/pull/150425/commits/d608803058513d69b2ccd736e2014ddf7d4921fa
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
d608803https://github.com/python/cpython/pull/150425/commits/d608803058513d69b2ccd736e2014ddf7d4921fa
https://github.com/python/cpython/tree/d608803058513d69b2ccd736e2014ddf7d4921fa
Fix SUBSCR_LIST_INT/STORE_SUBSCR_LIST_INT asserting on wide intshttps://github.com/python/cpython/pull/150425/commits/5e018400515a9c2c41a2d4afdc9c908db9211211
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
5e01840https://github.com/python/cpython/pull/150425/commits/5e018400515a9c2c41a2d4afdc9c908db9211211
https://github.com/python/cpython/tree/5e018400515a9c2c41a2d4afdc9c908db9211211
Update Include/internal/pycore_long.hhttps://github.com/python/cpython/pull/150425/commits/24a0d2ab35b6e570683d5b081fd816adb1be7bea
KRRT7https://github.com/python/cpython/commits?author=KRRT7
eendebakpthttps://github.com/python/cpython/commits?author=eendebakpt
24a0d2ahttps://github.com/python/cpython/pull/150425/commits/24a0d2ab35b6e570683d5b081fd816adb1be7bea
https://github.com/python/cpython/tree/24a0d2ab35b6e570683d5b081fd816adb1be7bea
edit based on feedbackhttps://github.com/python/cpython/pull/150425/commits/a4c0ddbb3c0b084ea2cf9c9ef008b0c2784b4228
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
a4c0ddbhttps://github.com/python/cpython/pull/150425/commits/a4c0ddbb3c0b084ea2cf9c9ef008b0c2784b4228
https://github.com/python/cpython/tree/a4c0ddbb3c0b084ea2cf9c9ef008b0c2784b4228
Merge branch 'main' into jit-wide-int-fastpathhttps://github.com/python/cpython/pull/150425/commits/c7800d90dd9f4df6bdc25bc1308e9f03fc261771
https://github.com/KRRT7
KRRT7https://github.com/python/cpython/commits?author=KRRT7
c7800d9https://github.com/python/cpython/pull/150425/commits/c7800d90dd9f4df6bdc25bc1308e9f03fc261771
https://github.com/python/cpython/tree/c7800d90dd9f4df6bdc25bc1308e9f03fc261771
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.