Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-111485: Mark some instructions as TIER_ONE_ONLY #113155

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Dec 15, 2023

Recent refactoring has made it so that the interpreter generator is now emitting executor cases for some instructions that were implicitly non-viable as uops before. This marks those instructions as explicitly TIER_ONE_ONLY.

@brandtbucher brandtbucher added skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) build The build process and cross-build labels Dec 15, 2023
@brandtbucher brandtbucher self-assigned this Dec 15, 2023
Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

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

LGTM

@markshannon markshannon merged commit 737d23f into python:main Dec 15, 2023
36 checks passed
corona10 pushed a commit to corona10/cpython that referenced this pull request Dec 15, 2023
@gvanrossum
Copy link
Member

Maybe eventually the tier-one-only marker could be one of the instruction attributes (like pure, replaced etc.) that go before the inst or op, instead of a weird magical line at the top of the code block?

@brandtbucher
Copy link
Member Author

Yeah, I would like that too.

The less we need to poke around in the token soup (and keep things in the DSL header) the better.

@gvanrossum
Copy link
Member

gvanrossum commented Dec 15, 2023 via email

aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants