mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-116422: Tier2 hot/cold splitting (GH-116813)
Splits the "cold" path, deopts and exits, from the "hot" path, reducing the size of most jitted instructions, at the cost of slower exits.
This commit is contained in:
parent
61599a48f5
commit
bf82f77957
21 changed files with 1662 additions and 1003 deletions
|
@ -31,6 +31,12 @@ class HoleValue(enum.Enum):
|
|||
OPERAND = enum.auto()
|
||||
# The current uop's target (exposed as _JIT_TARGET):
|
||||
TARGET = enum.auto()
|
||||
# The base address of the machine code for the jump target (exposed as _JIT_JUMP_TARGET):
|
||||
JUMP_TARGET = enum.auto()
|
||||
# The base address of the machine code for the error jump target (exposed as _JIT_ERROR_TARGET):
|
||||
ERROR_TARGET = enum.auto()
|
||||
# The index of the exit to be jumped through (exposed as _JIT_EXIT_INDEX):
|
||||
EXIT_INDEX = enum.auto()
|
||||
# The base address of the machine code for the first uop (exposed as _JIT_TOP):
|
||||
TOP = enum.auto()
|
||||
# A hardcoded value of zero (used for symbol lookups):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue