GH-111485: Factor out tier 2 code generation from the rest of the int… · python/cpython@0c55f27

GitHub

Original file line numberDiff line numberDiff line change@@ -1589,7 +1589,6 @@ regen-cases:

15891589 $(CASESFLAG) \

15901590 -t $(srcdir)/Python/opcode_targets.h.new \

15911591 -m $(srcdir)/Include/internal/pycore_opcode_metadata.h.new \

1592- -e $(srcdir)/Python/executor_cases.c.h.new \

15931592 -p $(srcdir)/Lib/_opcode_metadata.py.new \

15941593 -a $(srcdir)/Python/abstract_interp_cases.c.h.new \

15951594 $(srcdir)/Python/bytecodes.c

@@ -1599,6 +1598,8 @@ regen-cases:

15991598 $(srcdir)/Tools/cases_generator/uop_id_generator.py -o $(srcdir)/Include/internal/pycore_uop_ids.h.new $(srcdir)/Python/bytecodes.c

16001599 $(PYTHON_FOR_REGEN) \

16011600 $(srcdir)/Tools/cases_generator/tier1_generator.py -o $(srcdir)/Python/generated_cases.c.h.new $(srcdir)/Python/bytecodes.c

1601+ $(PYTHON_FOR_REGEN) \

1602+ $(srcdir)/Tools/cases_generator/tier2_generator.py -o $(srcdir)/Python/executor_cases.c.h.new $(srcdir)/Python/bytecodes.c

16021603 $(UPDATE_FILE) $(srcdir)/Python/generated_cases.c.h $(srcdir)/Python/generated_cases.c.h.new

16031604 $(UPDATE_FILE) $(srcdir)/Include/opcode_ids.h $(srcdir)/Include/opcode_ids.h.new

16041605 $(UPDATE_FILE) $(srcdir)/Include/internal/pycore_uop_ids.h $(srcdir)/Include/internal/pycore_uop_ids.h.new