Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-119786: Add jit.md. Move adaptive.md to a section of interpreter.md.#127175
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
2fb97e32414871e040267e5802d70c96eb243aa0dfe7c33634731d94c4b288baced06abc8a50b3bbf6eeacaef71File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Co-authored-by: Mark Shannon <mark@hotpy.org>
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -42,7 +42,7 @@ The optimizer that `_PyOptimizer_Optimize()` runs is configurable via the | ||
| `_Py_SetTier2Optimizer()` function (this is used in test via | ||
| `_testinternalcapi.set_optimizer()`.) | ||
| The micro-op (abbreviated `uop` to approximate `μop`) optimizer is defined in | ||
| [`Python/optimizer.c`](../Python/optimizer.c) as the type `_PyUOpOptimizer_Type`. | ||
| It translates an instruction trace into a sequence of micro-ops by replacing | ||
| each bytecode by an equivalent sequence of micro-ops (see | ||
| @@ -52,9 +52,9 @@ which is generated from [`Python/bytecodes.c`](../Python/bytecodes.c)). | ||
| The micro-op sequence is then optimized by | ||
| `_Py_uop_analyze_and_optimize` in | ||
| [`Python/optimizer_analysis.c`](../Python/optimizer_analysis.c) | ||
| andan instance of `_PyUOpExecutor_Type` is created to contain it. | ||
| ##The JIT interpreter | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Can you add a sentence or two saying why we have this strange looking interpreter? | ||
| After a `JUMP_BACKWARD` instruction invokes the uop optimizer to create a uop | ||
| executor, it transfers control to this executor via the `GOTO_TIER_TWO` macro. | ||
Uh oh!
There was an error while loading.Please reload this page.