Skip to content
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

[release/8.0][wasm] Fix Vector128 SIMD fmin and fmax #93677

Merged

Conversation

radekdoulik
Copy link
Member

@radekdoulik radekdoulik commented Oct 18, 2023

Backport of #93556

Customer Impact

Customers on WebAssembly platforms using Vector128 min and max methods may see wrong results as the NaN values are not propagated.

Risk

Low

Change description

Fix #92885

Min and max now use NaN propagating SIMD instructions, f32x4.min, f64x2.min, f32x4.max and f64x2.max.

Example emitted code:

...
f32x4.min    [SIMD]
v128.store    [SIMD]

for

return Vector128.Min(/* Vector128<float> */ v1, v2);

So that it propagates NaNs
@radekdoulik radekdoulik added this to the 8.0.0 milestone Oct 18, 2023
@radekdoulik radekdoulik added this to In progress in wasm SIMD via automation Oct 18, 2023
@ghost ghost assigned radekdoulik Oct 18, 2023
@lewing lewing added the Servicing-consider Issue for next servicing release review label Oct 18, 2023
@carlossanlop carlossanlop added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 19, 2023
@carlossanlop
Copy link
Member

Approved by Tactics via email.

@carlossanlop carlossanlop merged commit e25da19 into dotnet:release/8.0 Oct 19, 2023
108 of 112 checks passed
wasm SIMD automation moved this from In progress to Done Oct 19, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-AOT-mono Servicing-approved Approved for servicing release
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants