Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-106706: Streamline family syntax#106716
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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
39 commits Select commit Hold shift + click to select a range
294750d gh-106706 Streamline family syntax
kgdiem 7dc364c Update syntax in interpreter_definition.md
kgdiem dac8eb5 Further refactor bytecodes.c
kgdiem b05a7f8 Update test
kgdiem 47f2491 Update syntax in interpreter_definition.md
kgdiem d499926 Update interpreter_definition to new syntax
kgdiem 6fee03d Use family name as first instruction
kgdiem d13dbf2 stop using slice in iters
kgdiem 105871c Remove formatting in interpreter_definition.md
kgdiem 945f09d Change test
kgdiem c4ffdc5 Merge branch 'main' into streamline-family-syntax
kgdiem b588c72 Fix check
kgdiem e091ca3 Fix assertion
kgdiem 59dedfe 📜🤖 Added by blurb_it.
blurb-it[bot] 868ae1b lint blurb
kgdiem ae5cd52 Merge branch 'main' into streamline-family-syntax
kgdiem 843880d Update Misc/NEWS.d/next/Tools-Demos/2023-07-13-12-08-35.gh-issue-1067…
kgdiem 906c8b2 Remove redundant checks for family member length
kgdiem c367600 Reword documentation
kgdiem d31258c Update test, regenerate headers
kgdiem 9986c2e keep formatting in interpreter_definiton
kgdiem 1601141 GH-104909: Split `LOAD_ATTR_INSTANCE_VALUE` into micro-ops (GH-106678)
markshannon 8ce84bc gh-106690: Add a .coveragerc file to the CPython repository (#8150)
ammaraskar ca8147a gh-106701: Move the hand-written Tier 2 uops to bytecodes.c (#106702)
gvanrossum 58025d6 gh-106664: selectors: add get() method to _SelectorMapping (#106665)
bdraco fd9f8d6 docs: clarify Path.suffix (GH-106650)
nedbat 9acddfa gh-106368: Increase Argument Clinic test coverage (#106728)
erlend-aasland 0941a94 gh-104683: Argument clinic: use an enum to describe the different kin…
AlexWaygood c15f572 gh-106529: Split FOR_ITER_{LIST,TUPLE} into uops (#106696)
gvanrossum 656c5bc gh-105626: Change the default return value of `HTTPConnection.get_pro…
sobolevn 642cc0e gh-105293: Do not call SSL_CTX_set_session_id_context on client side …
grantramsay 2dd5049 gh-106446: Fix failed doctest in stdtypes (#106447)
CharlieZhao95 ea05f4d Fix check
kgdiem 178e300 Merge branch 'main' into streamline-family-syntax
erlend-aasland eab1974 Regen cases
kgdiem 1e68564 Check against family name when emitting cache size check, add family.…
kgdiem 85cbbed update family syntax in test
kgdiem 82a9927 Regenerate cases
kgdiem b05e24d Check families for mac.name instead of last_instr.family
kgdiem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
3 changes: 3 additions & 0 deletions 3 Misc/NEWS.d/next/Tools-Demos/2023-07-13-12-08-35.gh-issue-106706.29zp8E.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| Change bytecode syntax for families | ||
| to remove redundant name matching | ||
| pseudo syntax. |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -347,7 +347,7 @@ For explanations see "Generating the interpreter" below.) | ||
| ### Defining an instruction family | ||
| A _family_ represents a specializable instruction and its specializations. | ||
| A _family_ maps a specializable instruction to its specializations. | ||
kgdiem marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| Example: These opcodes all share the same instruction format): | ||
| ```C | ||
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!