Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
We would ideally have bytecodes.c as the single source of truth about opcodes. So opcode.py and the code generated from it should be replaced by alternatives from the cases_generator, if we can.
Linked PRs
- gh-105481: add flags to each instr in the opcode metadata table, to replace opcode.hasarg/hasname/hasconst #105482
- gh-105481: add pseudo-instructions to the cases DSL #105506
- gh-105481: Fix types and bug for pseudos #105788
- gh-105481: add HAS_JUMP flag to opcode metadata #105791
- gh-105481: remove HAS_ARG, HAS_CONST, IS_JUMP_OPCODE, IS_PSEUDO_OPCODE and replace by their new versions #105865
- gh-105481: generate _specializations and _specialized_instructions from bytecodes.c #105913
- gh-105481: refactor instr flag related code into a new InstructionFlags class #105950
- gh-105481: move Python/opcode_metadata.h to Include/internal/pycore_opcode_metadata.h #106673
- gh-105481: expose opcode metadata via the _opcode module #106688
- gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c #106758
- gh-105481: do not auto-generate pycore_intrinsics.h #106913
- gh-105481: add OPCODE_IS_INSTRUMENTED (generated from bytecodes.c) to replace MIN_INSTRUMENTED_OPCODE (defined in opcode.py) #107276
- gh-105481: remove dependency of _inline_cache_entries on opname #107339
- gh-105481: the ENABLE_SPECIALIZATION flag does not need to be generated by the build script, or exposed in opcode.py #107534
- gh-105481: combine regen-opcode-targets with regen-opcode to avoid calculating the specialized opcodes in two places #107540
- gh-105481: simplify definition of pseudo ops in Lib/opcode.py #107561
- GH-105481: Mark more files as generated #107598
- gh-105481: split opcode_ids.h out of opcode.h so that it can be generated separately #107866
- gh-105481: reduce repetition in opcode metadata generation code #107942
- gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py #107971
- gh-105481: generate _PyOpcode_Deopt and _PyOpcode_OpName in generate_cases instead of generate_opcode_h #108025
- gh-105481: fix out of date comment #108079
- gh-105481: opcode.h is no longer generated during the build #108080
- gh-105481: remove regen-opcode. Generated _PyOpcode_Caches in regen-cases. #108367