Skip to content

Conversation

radekdoulik
Copy link
Member

Resolves #120659

@radekdoulik radekdoulik requested review from AaronRobinsonMSFT and Copilot and removed request for Copilot October 14, 2025 07:58
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 14, 2025
@radekdoulik radekdoulik requested a review from jkotas October 14, 2025 07:58
@radekdoulik radekdoulik added arch-wasm WebAssembly architecture area-VM-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 14, 2025
@radekdoulik radekdoulik added this to the 11.0.0 milestone Oct 14, 2025
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@Copilot Copilot AI review requested due to automatic review settings October 14, 2025 15:10
Copy link
Contributor

@Copilot Copilot AI left a 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

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

Labels

arch-wasm WebAssembly architecture area-VM-coreclr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasm][coreclr] implement RhpNewArrayFastAlign8

3 participants