◐ Shell
clean mode source ↗

gh-106529: Make FOR_ITER a viable uop by gvanrossum · Pull Request #112134 · python/cpython

gvanrossum

@gvanrossum

@gvanrossum

@gvanrossum

@gvanrossum

markshannon

gvanrossum added a commit that referenced this pull request

Nov 17, 2023
- Double max trace size to 256
- Add a dependency on executor_cases.c.h for ceval.o
- Mark `_SPECIALIZE_UNPACK_SEQUENCE` as `TIER_ONE_ONLY`
- Add debug output back showing the optimized trace
- Bunch of cleanups to Tools/cases_generator/

@gvanrossum

brandtbucher

brandtbucher

brandtbucher

@gvanrossum

@gvanrossum

aisk pushed a commit to aisk/cpython that referenced this pull request

Feb 11, 2024
- Double max trace size to 256
- Add a dependency on executor_cases.c.h for ceval.o
- Mark `_SPECIALIZE_UNPACK_SEQUENCE` as `TIER_ONE_ONLY`
- Add debug output back showing the optimized trace
- Bunch of cleanups to Tools/cases_generator/

aisk pushed a commit to aisk/cpython that referenced this pull request

Feb 11, 2024
This uses the new mechanism whereby certain uops
are replaced by others during translation,
using the `_PyUop_Replacements` table.
We further special-case the `_FOR_ITER_TIER_TWO` uop
to update the deoptimization target to point
just past the corresponding `END_FOR` opcode.

Two tiny code cleanups are also part of this PR.

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request

Sep 2, 2024
- Double max trace size to 256
- Add a dependency on executor_cases.c.h for ceval.o
- Mark `_SPECIALIZE_UNPACK_SEQUENCE` as `TIER_ONE_ONLY`
- Add debug output back showing the optimized trace
- Bunch of cleanups to Tools/cases_generator/

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request

Sep 2, 2024
This uses the new mechanism whereby certain uops
are replaced by others during translation,
using the `_PyUop_Replacements` table.
We further special-case the `_FOR_ITER_TIER_TWO` uop
to update the deoptimization target to point
just past the corresponding `END_FOR` opcode.

Two tiny code cleanups are also part of this PR.