-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Implement the HWIntrinsics for SSE4.2 #9683
Comments
FYI. @CarolEidt, @fiigii I've opened this and self assigned as part of https://github.com/dotnet/coreclr/issues/15908 and https://github.com/dotnet/coreclr/issues/16216 |
@tannergooding Thanks for the work. After finish dotnet/coreclr#16183, I plan to implement a few of SSE4.1 intrinsics as well (e.g., certain AVX helper-intrinsics need |
@fiigii, sounds good to me. We should probably sync up in the near future and decide how to split SSE4.1 between us. |
Agree, we can discuss it after dotnet/coreclr#16249 merged. |
From a logistical perspective, I propose that we leave this in the "To Do" column of https://github.com/dotnet/coreclr/projects/7, and then add sub-issues for the pieces that you plan to work on, assign them accordingly, link them here, and we can put those in the "In Progress" column. I think that will help keep track of who's working on what. |
@fiigii, @CarolEidt, @eerhardt, @RussKeldorph we should set up some time to discuss the API shape for the SSE42 intrinsics. They currently take a However, I'm also not sure we want to be returning an enum that represents the current flag state, as that makes the instructions unnecessarily more expensive Additionally, given that the instructions write the Arithmetic flags in a non-standard manner, we should ensure that this won't have any unexpected impact on the JIT. All in all, I think this needs a bit more thought/work before we can start implementing them. |
I do not think the |
That is very non-obvious. It also includes flags that are always reset by the instructions which leads to other confusion as well. |
Probably, we can just follow the C++ intrinsic design that fixes the flags in function names, which significantly simplifies the JIT implementation (especially fallback). |
Please close this issue. |
Do we still have an issue tracking the remaining SSE4.2 APIs that still need API design/review? |
Yes, we have the design PR at dotnet/coreclr#19958 and related issue at CoreFX. |
Closing in favor of https://github.com/dotnet/corefx/issues/30373 |
category:reach
theme:intrinsics
skill-level:intermediate
cost:medium
The text was updated successfully, but these errors were encountered: