-
-
Notifications
You must be signed in to change notification settings - Fork 32k
The requirement to keep micro-ops dense while optimizing is harmful. #111646
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
Comments
Can you elaborate on what you mean by "compact the microops"? Is this removing unnecessary microops and (perhaps) realloc'ing a smaller buffer and copying there? |
Packing them together instead of leaving gaps.
must be compacted to:
during optimization, rather than doing it once when creating the executor. |
Thanks, that makes sense. |
markshannon
added a commit
that referenced
this issue
Nov 6, 2023
hugovk
pushed a commit
to hugovk/cpython
that referenced
this issue
Nov 8, 2023
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The tier 2 executor creation requires optimization passes to compact the micro-ops, which is onerous and error-prone.
We should make it part of the job of creating the executor to compact the micro-ops.
We will want to modify the tier 2 instruction format, so we will need to do this anyway at some point.
Linked PRs
The text was updated successfully, but these errors were encountered: