gh-106529: Support JUMP_BACKWARD in Tier 2 (uops) (#106543)
During superblock generation, a JUMP_BACKWARD instruction is translated to either a JUMP_TO_TOP micro-op (when the target of the jump is exactly the beginning of the superblock, closing the loop), or a SAVE_IP + EXIT_TRACE pair, when the jump goes elsewhere. The new JUMP_TO_TOP instruction includes a CHECK_EVAL_BREAKER() call, so a closed loop can still be interrupted.
G
Guido van Rossum committed
cabd6e8a107127ff02f0b514148f648fb2472a58
Parent: 292ac4b
Committed by GitHub <noreply@github.com>
on 7/11/2023, 6:08:10 PM