Skip to content

Fill out hardware intrinsics linker substitutions for unsupported platforms - #44156

Merged
eerhardt merged 1 commit into
dotnet:masterfrom
eerhardt:Fix44146
Nov 3, 2020
Merged

eerhardt merged 1 commit into
dotnet:masterfrom
eerhardt:Fix44146

Conversation

@eerhardt

@eerhardt eerhardt commented Nov 2, 2020

Copy link
Copy Markdown
Member

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

@tannergooding tannergooding left a comment

Copy link
Copy Markdown
Member

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

ghost commented Nov 2, 2020

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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