summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-12-11 14:14:36 (GMT)
committerGitHub <noreply@github.com>2023-12-11 14:14:36 (GMT)
commitc27e9d5d17abf468ea10081e177ba673316b1b98 (patch)
treeaf999d75d154d67791cc2eeffbb6942e9086be55 /Makefile.pre.in
parent97cd45bfdbb6525457ba9d6824386f1e0eea6657 (diff)
downloadcpython-c27e9d5d17abf468ea10081e177ba673316b1b98.zip
cpython-c27e9d5d17abf468ea10081e177ba673316b1b98.tar.gz
cpython-c27e9d5d17abf468ea10081e177ba673316b1b98.tar.bz2
GH-111485: Factor out generation of uop IDs from cases generator. (GH-112877)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 42a7545..4317c94 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1596,9 +1596,12 @@ regen-cases:
$(PYTHON_FOR_REGEN) \
$(srcdir)/Tools/cases_generator/opcode_id_generator.py -o $(srcdir)/Include/opcode_ids.h.new $(srcdir)/Python/bytecodes.c
$(PYTHON_FOR_REGEN) \
+ $(srcdir)/Tools/cases_generator/uop_id_generator.py -o $(srcdir)/Include/internal/pycore_uop_ids.h.new $(srcdir)/Python/bytecodes.c
+ $(PYTHON_FOR_REGEN) \
$(srcdir)/Tools/cases_generator/tier1_generator.py -o $(srcdir)/Python/generated_cases.c.h.new $(srcdir)/Python/bytecodes.c
$(UPDATE_FILE) $(srcdir)/Python/generated_cases.c.h $(srcdir)/Python/generated_cases.c.h.new
$(UPDATE_FILE) $(srcdir)/Include/opcode_ids.h $(srcdir)/Include/opcode_ids.h.new
+ $(UPDATE_FILE) $(srcdir)/Include/internal/pycore_uop_ids.h $(srcdir)/Include/internal/pycore_uop_ids.h.new
$(UPDATE_FILE) $(srcdir)/Python/opcode_targets.h $(srcdir)/Python/opcode_targets.h.new
$(UPDATE_FILE) $(srcdir)/Include/internal/pycore_opcode_metadata.h $(srcdir)/Include/internal/pycore_opcode_metadata.h.new
$(UPDATE_FILE) $(srcdir)/Python/executor_cases.c.h $(srcdir)/Python/executor_cases.c.h.new