Skip to content

Move hand-written uops (e.g. SAVE_IP) into bytecodes.c, executor_cases.c.h #106601

Closed
@gvanrossum

Description

@gvanrossum

We currently have a smattering (but growing) set of hand-written micro-ops in _PyUopExecute() in in ceval.c. We should move these into bytecodes.c, so that @brandtbucher's copy-and-patch process can generate code for these.

These are somewhat special because they cannot be components of Tier-1 macro ops; they can only be Tier-2 uops. A smattering of special-casing in the cases generator is acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions