Title: Widen specialized int fast paths to full int64 range · Issue #150424 · python/cpython · GitHub
Open Graph Title: Widen specialized int fast paths to full int64 range · Issue #150424 · python/cpython
X Title: Widen specialized int fast paths to full int64 range · Issue #150424 · python/cpython
Description: This work widens the interpreter’s specialized int fast paths (tier-2 / uop execution) from the compact-only range to the full int64_t range. It also fixes follow-up correctness issues in the widened specialized paths for non-compact exa...
Open Graph Description: This work widens the interpreter’s specialized int fast paths (tier-2 / uop execution) from the compact-only range to the full int64_t range. It also fixes follow-up correctness issues in the widen...
X Description: This work widens the interpreter’s specialized int fast paths (tier-2 / uop execution) from the compact-only range to the full int64_t range. It also fixes follow-up correctness issues in the widen...
Opengraph URL: https://github.com/python/cpython/issues/150424
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Widen specialized int fast paths to full int64 range","articleBody":"This work widens the interpreter’s specialized `int` fast paths (tier-2 / uop execution) from the compact-only range to the full `int64_t` range.\n\nIt also fixes follow-up correctness issues in the widened specialized paths for non-compact exact `PyLongObject`s and on 15-bit builds.\n\nScope:\n- widen specialized integer add/subtract/multiply fast paths to operate across the full `int64_t` range\n- accept exact `int` operands that fit in `int64_t`, including non-compact `PyLongObject`s\n- keep specialized in-place mutation compact-only and fall back safely for non-compact inputs\n- handle widened integer compare without compact-only assumptions\n- construct widened arithmetic results with `PyLong_FromInt64()` so 15-bit builds do not narrow through `stwodigits`\n- add regression coverage for widened operations, non-compact exact ints, boundary cases, and overflow fallback\n- add benchmark scripts for measuring widened specialized integer fast-path performance\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-150425\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/KRRT7","@type":"Person","name":"KRRT7"},"datePublished":"2026-05-25T18:58:12Z","url":"https://github.com/python/cpython/issues/150424"}
| react-profiling | 0 |
| react-import-map | react,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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7fa8e183-13c4-4e7a-3863-73ea144debff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AABA:1AE7ED:1C4138:26A354:6AECB37C |
| html-safe-nonce | 701bfa84947fe75278ec5b625ff5f28db246ae79ca21a1bf4eab222db5306b5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUJBOjFBRTdFRDoxQzQxMzg6MjZBMzU0OjZBRUNCMzdDIiwidmlzaXRvcl9pZCI6IjY1MjE0NzQzNzU0OTA1MTU4MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 03f4484caab57d43d67403f223bee9fda2c84ea64c647f566fd952af5867e26e |
| hovercard-subject-tag | issue:4518976506 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/150424/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c856aedf9a0c7efd842d9146dd3430f1fce025864af762db59bcf57f6b8279b/python/cpython/issues/150424 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c856aedf9a0c7efd842d9146dd3430f1fce025864af762db59bcf57f6b8279b/python/cpython/issues/150424 |
| og:image:alt | This work widens the interpreter’s specialized int fast paths (tier-2 / uop execution) from the compact-only range to the full int64_t range. It also fixes follow-up correctness issues in the widen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KRRT7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95ae5445dec4cded2bc4f9d97ede92b9116c0bf381a08a5c844b60b5bddcbc97 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | db4ef601a7f034ae2a68e17d6eeaeb7ee9470192 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width