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

Conversation

@Dotnet-GitSync-Bot
Copy link
Contributor

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot commented Dec 7, 2018

This PR contains mirrored changes from dotnet/coreclr

Please REBASE this PR when merging

cc @tannergooding

…her intrinsics (#21432)

* Updating Vector128.CreateScalar and Vector256.CreateScalar to be implemented using other intrinsics

* Updating Vector128.Equals and Vector256.Equals to be implemented using other intrinsics

* Updating Vector256.WithLower, Vector256.GetUpper, and Vector256.WithUpper to be implemented using other intrinsics

* Updating Vector128.Create(T) and Vector256.Create(T) to be implemented using other intrinsics

* Fixing the `NI_Base_Vector256_As` intrinsics to only fold the cast if AVX is supported and add a clarifying comment to the Vector128/256.Equals code

* Changing the various `*Software()` local functions in Vector128/256 to be `SoftwareFallback()`

Signed-off-by: dotnet-bot <[email protected]>
@jkotas
Copy link
Member

jkotas commented Dec 8, 2018

@dotnet-bot test this please

@jkotas
Copy link
Member

jkotas commented Dec 8, 2018

@MichalStrehovsky Is this failure related to dotnet/coreclr#21446 ?

@MichalStrehovsky
Copy link
Member

@MichalStrehovsky Is this failure related to dotnet/coreclr#21446 ?

That would be an AV in JIT and we're not updating the JIT here. This kind of looks like we need to implement the first part of #6173 (do the type layout for the new SIMD intrinsic types).

I'll take a look...

@tannergooding
Copy link
Member

Not sure why this change would make it fail, we are only adding code paths that should be false/skipped on corert.

@MichalStrehovsky
Copy link
Member

RyuJIT is finding out about Vector being special even without us telling it and things fall apart. #6666 should unblock this.

I also tried to do the whole thing (compute the right layout for vectors), but stumbled over #6665, followed by finding out that the "maximum alignment supported" constant has some very special implications on universal shared code - that part will need to be very carefully staged.

@jkotas
Copy link
Member

jkotas commented Dec 10, 2018

@dotnet-bot test this please

@MichalStrehovsky MichalStrehovsky mentioned this pull request Dec 10, 2018
@MichalStrehovsky
Copy link
Member

Hm, still failing. I was running with a RyuJIT that I built myself locally so maybe we need to also update RyuJIT. #6667

@MichalStrehovsky
Copy link
Member

@dotnet-bot test this please

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.

4 participants