-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[No Merge]Adding SSE4.2 STTNI intrinsic APIs #19958
Conversation
Could we simplify enum names? |
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
Show resolved
Hide resolved
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
Outdated
Show resolved
Hide resolved
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should have a "Redesign" PR in coreclr.
I think we should first discuss the kinds of design decisions we're talking about in the corefx issue (https://github.com/dotnet/corefx/issues/30373)
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Enums.cs
Outdated
Show resolved
Hide resolved
/// PCMPISTRI xmm, xmm/m128, imm8 | ||
/// int _mm_cmpistrs (__m128i a, __m128i b, const int imm8) | ||
/// </summary> | ||
public static bool CompareNoMatchAndRightNotTerminated(Vector128<sbyte> left, Vector128<sbyte> right, StringComparisonMode mode) { throw new PlatformNotSupportedException(); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so verbose - since we have RightTerminated
doesn't it make sense for the lack of that modifier to imply that it is not right terminated?
Also, could we think of a better way to express CompareNoMatch
?
@fiigii, can this be closed for now; until we have a better design? |
This PR adds SSE4.2 STTNI intrinsic APIs that need to be reviewed.