-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Add CALL_INTRINSIC instruction. #99005
Copy link
Copy link
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagePerformance or resource usage
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagePerformance or resource usage
Fields
Give feedbackNo fields configured for issues without a type.
We have a number of instructions that are complicated and executed fairly rarely. For example
MAP_KEYS,CHECK_EG_MATCH,CLEANUP_THROW.These bulk out the interpreter, possibly slowing things down.
We should move code from these into helper functions, which can be called though a table from
CALL_INTRINSICinstruction.The
CALL_INTRINSICinstruction also provides a means for contributors to add new functionality without a deep understanding of the compiler.Candidates for moving into
CALL_INTRINSICare:Linked PRs
CALL_INTRINSIC_1instruction #100771