Skip to content

Don't generate AddMask as it requires more explicit consideration of semantics #92282

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

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

tannergooding
Copy link
Member

This resolves #92261 and should be backported to release/8.0

The general issue is that ConvertToMask(ConvertToVector(Mask) + ConvertToVector(Mask)) and Mask + Mask differ in their semantics, particularly for floating-point. Where-as they do not differ in semantics for bitwise operations.

As such, addition requires additional handling and shouldn't have been included in the initial handling set here.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 19, 2023
@ghost ghost assigned tannergooding Sep 19, 2023
@ghost
Copy link

ghost commented Sep 19, 2023

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

Issue Details

This resolves #92261 and should be backported to release/8.0

The general issue is that ConvertToMask(ConvertToVector(Mask) + ConvertToVector(Mask)) and Mask + Mask differ in their semantics, particularly for floating-point. Where-as they do not differ in semantics for bitwise operations.

As such, addition requires additional handling and shouldn't have been included in the initial handling set here.

Author: tannergooding
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@tannergooding tannergooding merged commit 1185d19 into dotnet:main Sep 19, 2023
@tannergooding tannergooding deleted the fix-92261 branch September 19, 2023 20:41
@tannergooding
Copy link
Member Author

/backport to release/8.0

@github-actions
Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6240722180

@ghost ghost locked as resolved and limited conversation to collaborators Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
2 participants