Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

[JustForView] Helps move x86 HW intrinsics files to shared in corert#5931

Closed
maryamariyan wants to merge 2 commits into
dotnet:masterfrom
maryamariyan:hw-intrin
Closed

[JustForView] Helps move x86 HW intrinsics files to shared in corert#5931
maryamariyan wants to merge 2 commits into
dotnet:masterfrom
maryamariyan:hw-intrin

Conversation

@maryamariyan
Copy link
Copy Markdown
Contributor

@maryamariyan maryamariyan commented Jun 12, 2018

[NOTE] The diff in this PR is what will be cherry-picked into the mirroring PR from coreclr when dotnet/coreclr#18427 gets merged.

Diff details:

  • gitignore needs to be updated because the new files (to be moved from coreclr src to shared) are located in a folder named x86.

  • the second commit shows how the ifdefs could be simplified after the APIs are added.

cc: @jkotas @MichalStrehovsky

<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Intrinsics\X86\Sse42.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Intrinsics\X86\Ssse3.cs" />
</ItemGroup>
<ItemGroup Condition="'$(Platform)' != 'x64' AND '$(Platform)' != 'x86'">
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.

CoreRT and ProjectN need to include the "PlatformNotSupported" files as well, for now at least.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So do you mean for corert the condition on line 879 should always be true?

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.

Yes.

@maryamariyan maryamariyan self-assigned this Jun 12, 2018
@jkotas jkotas closed this Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants