Skip to content

[release/9.0-staging][wasm][interpreter] Fix PackedSimd interpreter intrinsics #114218

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

Open
wants to merge 14 commits into
base: release/9.0-staging
Choose a base branch
from

Conversation

lewing
Copy link
Member

@lewing lewing commented Apr 3, 2025

Backport of part of #114087 to release/9.0-staging

While doing some testing for work in .NET 10 it was discovered that some of the methods in PackedSimd fail to correctly resolve their interpreter intrinsic and trigger a runtime abort (either a stack overflow or NIY error). This allows the interpreter to correctly resolve the intrinsics for the PackedSimd methods that were failing.

Fixes #114088 and Splat intrinsic uncovered by the tests.

Customer Impact

This is a correctness fix. Anyone attempting to use these Wasm specific methods in non-AOT mode would encounter unrecoverable runtime errors.

  • Customer reported
  • Found internally

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

Test cases included

Risk

Low, the changes avoid runtime aborts and do not touch methods that were working.

Copy link
Contributor

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

@lewing lewing requested a review from kg April 3, 2025 16:01
@lewing
Copy link
Member Author

lewing commented Apr 3, 2025

Will update the tests to avoid net10 features.

@lewing lewing closed this Apr 3, 2025
@lewing
Copy link
Member Author

lewing commented Apr 3, 2025

The native types are not supported in Vector128 in net9

@lewing lewing reopened this Apr 11, 2025
@lewing lewing changed the title [release/9.0][wasm][interpreter] Fix PackSimd interpreter intrinsics [release/9.0][wasm][interpreter] Fix PackedSimd interpreter intrinsics Apr 11, 2025
@lewing lewing changed the title [release/9.0][wasm][interpreter] Fix PackedSimd interpreter intrinsics [release/9.0-staging][wasm][interpreter] Fix PackedSimd interpreter intrinsics Apr 16, 2025
@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 24, 2025
@leecow leecow added this to the 9.0.6 milestone Apr 24, 2025
@lewing
Copy link
Member Author

lewing commented May 15, 2025

/ba-g failure is not related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants