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-104584: Emit macro expansions to opcode_metadata.h #106163

Merged
merged 5 commits into from
Jun 28, 2023

Conversation

gvanrossum
Copy link
Member

@gvanrossum gvanrossum commented Jun 27, 2023

This produces longer traces.

Also improved debug output (uop names are now printed).

This would be simpler if the numeric opcode values were generated
by generate_cases.py.
(Why can't I run this locally on macOS?)
@gvanrossum gvanrossum marked this pull request as draft June 28, 2023 05:24
@gvanrossum
Copy link
Member Author

I plan to try the refactor mentioned in the TODO in write_macro_expansions().

@gvanrossum gvanrossum marked this pull request as ready for review June 28, 2023 18:00
@gvanrossum
Copy link
Member Author

I'm just going to merge this once tests pass.

@gvanrossum gvanrossum enabled auto-merge (squash) June 28, 2023 18:07
@gvanrossum gvanrossum merged commit 1173143 into python:main Jun 28, 2023
@gvanrossum gvanrossum deleted the macro-uops branch June 28, 2023 18:30
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.

2 participants