-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expose 64-bit only hardware intrinsic in nested classes #20146
Conversation
I only added new APIs in this PR and not remove the old ones to avoid disabling so many tests. After the APIs get reflected back to CoreCLR and implemented in JIT, I will migrate tests to new APIs and remove the old APIs in one shot. That would make the workflow simpler. |
I think just |
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
Outdated
Show resolved
Hide resolved
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
Outdated
Show resolved
Hide resolved
Thanks for the suggestions. I am worrying that |
IMO, we should emphasize that |
You are right, this could be a problem. How about |
Or actually |
I think, given the targeted users for these APIs, any documentation we make available, and the limited scope of the x64 classes, the majority of users will be able to easily figure out that the types in |
IMO we do not have to stick to acronyms. Adding short extension to |
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
Outdated
Show resolved
Hide resolved
Do you want to remove this method? I assume the Refers to: src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.cs:85 in 86d7c37. [](commit_id = 86d7c37, deletion_comment = False) |
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
Outdated
Show resolved
Hide resolved
@eerhardt I only added new APIs in this PR and not remove the old ones to avoid disabling so many tests. After the APIs get reflected back to CoreCLR and implemented in JIT, I will migrate tests to new APIs and remove the old APIs in one shot. That would make the workflow simpler. |
@dotnet-bot test OSX10.12 x64 Checked Innerloop Build and Test |
@CarolEidt Do you have comments or suggestions for this PR? If it looks good to you, I think it ready to merge. |
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Bmi1.PlatformNotSupported.cs
Outdated
Show resolved
Hide resolved
Changed the Bmi1.X64 -> Object |
Sorry for being a bit late to the discussion on this. Also, I think that this sort of naming issue should be discussed on the corefx issue (https://github.com/dotnet/coreclr/issues/20062), as it is really an ABI discussion, which IMO is not appropriate for a coreclr PR. |
@CarolEidt Thanks for the comments. I opened a CoreFX issue https://github.com/dotnet/corefx/issues/32721 to discuss this kind of naming issues. |
But that is the exact intended meaning here (e.g., |
@dotnet-bot test this please |
Fixed build warnings and comments ( |
CoreFX surface change at dotnet/corefx#33286 |
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.
Closing and re-opening to ensure all jobs run (rather than just 7). I doubt this broke anything, but better to be safe than sorry 😄 |
@dotnet-bot test this please |
CI gets stuck again 😂 |
@dotnet-bot test Ubuntu arm Cross Checked crossgen_comparison Build and Test |
test Ubuntu arm Cross Checked Innerloop Build and Test please |
Jenkins seems to be working again, so hopefully the jobs retrigger and don't fail |
Thanks @fiigii |
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
This PR contribute to https://github.com/dotnet/coreclr/issues/20062
X64
to contain 64-bit only hardware intrinsic. .