Skip to content

GH-122155: Track local variables between pops and pushes in cases generator#122286

Merged
markshannon merged 13 commits intopython:mainfrom
faster-cpython:cases-gen-track-locals
Aug 1, 2024
Merged

GH-122155: Track local variables between pops and pushes in cases generator#122286
markshannon merged 13 commits intopython:mainfrom
faster-cpython:cases-gen-track-locals

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Jul 25, 2024

The current design of the cases generator assumes that the code generator can infer all it needs to know from looking at the stack comments of individual micro-ops. However this isn't true within a tier 1 instruction if the intermediate stack grows during an instruction.

This PR tracks local values during micro ops, between them being popped from the stack and pushed back to the stack.

markshannon and others added 4 commits July 30, 2024 09:26
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Paweł Piotr Przeradowski <showerproof86@gmail.com>
@markshannon
Copy link
Member Author

JIT failures are unrelated (an llvm package issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants