-
-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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-111520: Integrate the Tier 2 interpreter in the Tier 1 interpreter #111428
Commits on Oct 27, 2023
-
Make all labels in _PyUopExecute end in _tier_two
Use `GOTO_ERROR(error)` instead of `goto error`. This macro is defined differently in the tier two interpreter.
Configuration menu - View commit details
-
Copy full SHA for 97984d3 - Browse repository at this point
Copy the full SHA 97984d3View commit details -
Control lltrace via PYTHON_LLTRACE=N
This replaces PYTHONUOPSDEBUG=N. The meaning of N is the same (for now): 0: no tracing 1: print when tier 2 trace created 2: print contents of tier 2 trace 3: print every uop executed 4: print optimization attempts and details 5: print tier 1 instructions and stack
Configuration menu - View commit details
-
Copy full SHA for 157a450 - Browse repository at this point
Copy the full SHA 157a450View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b9c1b - Browse repository at this point
Copy the full SHA d1b9c1bView commit details
Commits on Oct 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d805312 - Browse repository at this point
Copy the full SHA d805312View commit details
Commits on Oct 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e0e60ce - Browse repository at this point
Copy the full SHA e0e60ceView commit details
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a720f1a - Browse repository at this point
Copy the full SHA a720f1aView commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b808f6d - Browse repository at this point
Copy the full SHA b808f6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0aed59 - Browse repository at this point
Copy the full SHA a0aed59View commit details -
Most suggestions from Mark's code review
- Remove CHECK_EVAL_BREAKER() from top of Tier 2 loop - Make Tier 2 default case Py_UNREACHABLE() in non-debug mode - GOTO_TIER_TWO() macro instead of `goto enter_tier_two` - Inline ip_offset (Tier 2 LOAD_IP() is now a no-op) - Move #define/#under TIER_ONE/TIER_TWO into generated .c.h files - ceval_macros.h defines Tier 1 macros, Tier 2 is inlined in ceval.c
Configuration menu - View commit details
-
Copy full SHA for 75605c7 - Browse repository at this point
Copy the full SHA 75605c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e84476 - Browse repository at this point
Copy the full SHA 5e84476View commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 917b7a2 - Browse repository at this point
Copy the full SHA 917b7a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9067eb0 - Browse repository at this point
Copy the full SHA 9067eb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a4e495 - Browse repository at this point
Copy the full SHA 6a4e495View commit details -
Revert "DO NOT MERGE: Always use -Xuops"
(I accidentally kept this commit after pushing it experimentally. This means I've been testing with uops on all the time, which is actually pretty amazing.) This reverts commit e0e60ce.
Configuration menu - View commit details
-
Copy full SHA for 81f1883 - Browse repository at this point
Copy the full SHA 81f1883View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee27e73 - Browse repository at this point
Copy the full SHA ee27e73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ebc228 - Browse repository at this point
Copy the full SHA 7ebc228View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d0108 - Browse repository at this point
Copy the full SHA a1d0108View commit details -
Configuration menu - View commit details
-
Copy full SHA for a96ac7f - Browse repository at this point
Copy the full SHA a96ac7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e02409d - Browse repository at this point
Copy the full SHA e02409dView commit details -
Move
_EXIT_TRACE
logic to a separate labelUsing `GOTO_TIER_ONE()` macro. This should make things simpler for Justin.
Configuration menu - View commit details
-
Copy full SHA for fdf1a2f - Browse repository at this point
Copy the full SHA fdf1a2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a6450c - Browse repository at this point
Copy the full SHA 2a6450cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4783de3 - Browse repository at this point
Copy the full SHA 4783de3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9516a1 - Browse repository at this point
Copy the full SHA b9516a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c3fae - Browse repository at this point
Copy the full SHA 33c3faeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 998e054 - Browse repository at this point
Copy the full SHA 998e054View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19d9d40 - Browse repository at this point
Copy the full SHA 19d9d40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03de1bf - Browse repository at this point
Copy the full SHA 03de1bfView commit details