-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[wasm][coreclr] Implement RhpNewArrayFastAlign8 #120690
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
base: main
Are you sure you want to change the base?
[wasm][coreclr] Implement RhpNewArrayFastAlign8 #120690
Conversation
Tagging subscribers to this area: @mangod9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements the RhpNewArrayFastAlign8
function for WASM and CoreCLR, resolving issue #120659. The implementation enables aligned memory allocation for arrays that require 8-byte alignment, particularly for long and double arrays on 32-bit platforms.
Key changes:
- Implements the
RhpNewArrayFastAlign8
function with proper alignment logic - Refactors existing allocation code to improve maintainability
- Removes WASM-specific test exclusions that are no longer needed
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
src/coreclr/runtime/portable/AllocFast.cpp | Implements RhpNewArrayFastAlign8 function and refactors allocation helpers |
src/tests/JIT/interpreter/Interpreter.cs | Removes WASM architecture exclusions for long and double array tests |
Co-authored-by: Aaron Robinson <[email protected]>
Resolves #120659