-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Vector.ConditionalSelect and Vector128.ConditionalSelect don't emit vpblendvb on x64 #67039
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics Issue Details
vpand
vpandn
vpor instead of emitting vpblendvb only. The same is for Is this by design or a missed oppurtunity to use available instructions? See also sharplab and I see the same on .NET 7 Preview 2.
|
ConditionalSelect is "bitwise" and so optimizing it to be That optimization is planned, its just not been done yet. |
Vector.ConditionalSelect
emits on x64 with AVX2 supported a series ofinstead of emitting
vpblendvb
only.
The same is for
Vector128.ConditionalSelect
.Is this by design or a missed oppurtunity to use available instructions?
See also sharplab and I see the same on .NET 7 Preview 2.
The text was updated successfully, but these errors were encountered: