Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Removing the Sse2.LoadScalarVector128 overloads that are invalid.#16221

Merged
tannergooding merged 1 commit into
dotnet:masterfrom
tannergooding:hwintrin-fixup
Feb 6, 2018
Merged

Removing the Sse2.LoadScalarVector128 overloads that are invalid.#16221
tannergooding merged 1 commit into
dotnet:masterfrom
tannergooding:hwintrin-fixup

Conversation

@tannergooding
Copy link
Copy Markdown
Member

FYI. @CarolEidt, @fiigii, @eerhardt.

These being added was an oversight, as per the discussion here: #16192 (comment)

These intrinsics do not have a corresponding instruction to emit and should not be simulated by the runtime.

@tannergooding
Copy link
Copy Markdown
Member Author

Also FYI. @4creators, since you are working on the SSE2 ISA.

Copy link
Copy Markdown

@fiigii fiigii left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Copy Markdown

@CarolEidt CarolEidt left a comment

Choose a reason for hiding this comment

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

LGTM

@tannergooding
Copy link
Copy Markdown
Member Author

Resolved merge conflicts.

Copy link
Copy Markdown
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks @tannergooding

@tannergooding tannergooding merged commit 7babba0 into dotnet:master Feb 6, 2018
@BruceForstall
Copy link
Copy Markdown

@tannergooding Don't you need to also remove them from the reference assembly https://github.com/dotnet/corefx/blob/master/src/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs? I'm getting build breaks building corefx:

D:\j\workspace\x64_checked_w---a7bd363e\_\fx\Tools\ApiCompat.targets(54,5): error : MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Sse2.LoadScalarVector128(System.Byte*)' does not exist in the implementation but it does exist in the contract. [D:\j\workspace\x64_checked_w---a7bd363e\_\fx\src\System.Runtime.Intrinsics\src\System.Runtime.Intrinsics.csproj]
D:\j\workspace\x64_checked_w---a7bd363e\_\fx\Tools\ApiCompat.targets(54,5): error : MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Sse2.LoadScalarVector128(System.Int16*)' does not exist in the implementation but it does exist in the contract. [D:\j\workspace\x64_checked_w---a7bd363e\_\fx\src\System.Runtime.Intrinsics\src\System.Runtime.Intrinsics.csproj]
D:\j\workspace\x64_checked_w---a7bd363e\_\fx\Tools\ApiCompat.targets(54,5): error : MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Sse2.LoadScalarVector128(System.SByte*)' does not exist in the implementation but it does exist in the contract. [D:\j\workspace\x64_checked_w---a7bd363e\_\fx\src\System.Runtime.Intrinsics\src\System.Runtime.Intrinsics.csproj]
D:\j\workspace\x64_checked_w---a7bd363e\_\fx\Tools\ApiCompat.targets(54,5): error : MembersMustExist : Member 'System.Runtime.Intrinsics.X86.Sse2.LoadScalarVector128(System.UInt16*)' does not exist in the implementation but it does exist in the contract. [D:\j\workspace\x64_checked_w---a7bd363e\_\fx\src\System.Runtime.Intrinsics\src\System.Runtime.Intrinsics.csproj]
D:\j\workspace\x64_checked_w---a7bd363e\_\fx\Tools\ApiCompat.targets(68,5): error : ApiCompat failed for 'D:\j\workspace\x64_checked_w---

e.g., https://ci.dot.net/job/dotnet_coreclr/job/master/job/jitstress/job/x64_checked_windows_nt_corefx_baseline/422/

@tannergooding
Copy link
Copy Markdown
Member Author

Yes, I was waiting for the CoreFX PR that consumes this change to go up (there hasn't been a PR by dotnet-maestro-bot for me to update yet).

@tannergooding
Copy link
Copy Markdown
Member Author

tannergooding commented Feb 7, 2018

Actually, it looks like API removal (unlike addition or modification) doesn't require CoreCLR to be pumped back first. I've opened: dotnet/corefx#26933

@tannergooding tannergooding deleted the hwintrin-fixup branch May 30, 2018 04:15
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.

5 participants