Skip to content
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

Fill out hardware intrinsics linker substitutions for unsupported platforms #44156

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Nov 2, 2020

Added the recently added arm intrinsics classes: Dp and Rdm to the linker subsitutions.

I also ensured all the 64-bit nested classes are substituted as well, even if they don't have any methods.

Fix #44146

Copy link
Member

@tannergooding tannergooding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

If we get a doc up on adding new HWIntrinsics, we should ensure that updating this file is included as part of the process.

@ghost
Copy link

ghost commented Nov 2, 2020

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

@jkotas jkotas added the linkable-framework Issues associated with delivering a linker friendly framework label Nov 2, 2020
@@ -9,6 +9,9 @@
<type fullname="System.Runtime.Intrinsics.Arm.Aes">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth splitting this up to to arm and arm64 files so we can disable arm64 intrinsics on arm builds.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't support intrinsics on arm32 at all at this point. Check out the project file, we only support arm intrinsics on arm64:

<SupportsArmIntrinsics Condition="'$(Platform)' == 'arm64'">true</SupportsArmIntrinsics>

We can split the file in the future when arm32 support is understood.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, will split that once we support them

@eerhardt eerhardt merged commit 6b85595 into dotnet:master Nov 3, 2020
@eerhardt eerhardt deleted the Fix44146 branch November 3, 2020 11:36
@ghost ghost locked as resolved and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.Intrinsics linkable-framework Issues associated with delivering a linker friendly framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete arm intrinsics substitions
5 participants