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

gh-148211: decompose `_SHUFFLE_3_LOAD_CONST_INLINE_BORROW` in JIT by NekoAsakura · Pull Request #148816 · python/cpython · GitHub

Repository navigation

gh-148211: decompose _SHUFFLE_3_LOAD_CONST_INLINE_BORROW in JIT - #148816

Merged
markshannon merged 3 commits into
python:mainfrom
NekoAsakura:gh-148211/decompose-shuffle-3
Apr 28, 2026
Merged

markshannon merged 3 commits into
python:mainfrom
NekoAsakura:gh-148211/decompose-shuffle-3

Conversation

NekoAsakura commented Apr 20, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Missed one.

bedevere-app Bot mentioned this pull request Apr 20, 2026
NekoAsakura changed the title gh-148211: decompose _SHUFFLE_2_LOAD_CONST_INLINE_BORROW in JIT gh-148211: decompose _SHUFFLE_3_LOAD_CONST_INLINE_BORROW in JIT Apr 20, 2026

Copy link
Copy Markdown
Member

LGTM, Thanks!

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

markshannon merged commit 2b6a137 into python:main Apr 28, 2026
80 checks passed

Copy link
Copy Markdown
Member

Note:

It might be worth adding ROT_3 and a RROT_3 uops to use in the optimizer and the peepholer.
A SWAP_2; SWAP_3 takes 6 moves, but ROT_3 only takes 4.

NekoAsakura deleted the gh-148211/decompose-shuffle-3 branch April 28, 2026 16:21
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.

3 participants


Back | FazBrowse Home | New Git URL