-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimization: differentiate function calls #724
Merged
Merged
Commits on May 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6beae00 - Browse repository at this point
Copy the full SHA 6beae00View commit details -
make CompiledFunc use u32 internally
This is to make it possible to use CompiledFunc in wasmi bytecode.
Configuration menu - View commit details
-
Copy full SHA for 3c17500 - Browse repository at this point
Copy the full SHA 3c17500View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1c0c58 - Browse repository at this point
Copy the full SHA d1c0c58View commit details -
rename insts -> instrs in CodeMap
"insts" is ambiguous in Wasm with "instances" therefore we always want to use "instr" to refer to an instruction.
Configuration menu - View commit details
-
Copy full SHA for 7ed724f - Browse repository at this point
Copy the full SHA 7ed724fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e36a2c - Browse repository at this point
Copy the full SHA 4e36a2cView commit details
Commits on May 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 43f25dc - Browse repository at this point
Copy the full SHA 43f25dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ef48e - Browse repository at this point
Copy the full SHA 17ef48eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f32e1dc - Browse repository at this point
Copy the full SHA f32e1dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27282e2 - Browse repository at this point
Copy the full SHA 27282e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e33039d - Browse repository at this point
Copy the full SHA e33039dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee9112 - Browse repository at this point
Copy the full SHA 3ee9112View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e34f9c - Browse repository at this point
Copy the full SHA 0e34f9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a69cfba - Browse repository at this point
Copy the full SHA a69cfbaView commit details -
allocate CompiledFunc prior to translation
Now instead of allocation CompiledFunc to the `wasmi` Engine as the result of validation and translation of a Wasm function, the CompiledFunc is already allocated and initialized instead. This allows to access the CompiledFunc index for function calls in other translation units which finally provides the possibility to optimize calls to internal functions. Also this will make it simpler to run function translations concurrently if we ever decide to want this feature.
Configuration menu - View commit details
-
Copy full SHA for 381585f - Browse repository at this point
Copy the full SHA 381585fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ca866 - Browse repository at this point
Copy the full SHA a8ca866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a952f2 - Browse repository at this point
Copy the full SHA 9a952f2View commit details -
Maybe we should specialize Call to CallImported and mandate that it is only used for imported functions. This could further optimize the call infrastructure in the engine by relying on this.
Configuration menu - View commit details
-
Copy full SHA for 160722e - Browse repository at this point
Copy the full SHA 160722eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5612869 - Browse repository at this point
Copy the full SHA 5612869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d3e4c - Browse repository at this point
Copy the full SHA 98d3e4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6b5e6 - Browse repository at this point
Copy the full SHA ef6b5e6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.