-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Fix Vector512 rightshift #89339
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
Fix Vector512 rightshift #89339
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsFixes #89338
|
|
Do we need a test? |
|
@tannergooding @dotnet/avx512-contrib PTAL |
tannergooding
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change is correct, but adding tests would still be desirable.
Looks like the operator shift tests are missing entirely, which would explain why this wasn't caught earlier.
You'd need to add the relevant entries to https://github.com/dotnet/runtime/blob/main/src/tests/Common/GenerateHWIntrinsicTests/GenerateHWIntrinsicTests_General.cs and likely clone the existing BinOp template to have a BinOpImm variant (much as exists for the method cases)
|
@MichalPetryka, will you be able to add the necessary tests for this or do you need someone to pick it up? |
I've tried looking into creating a new template for the tests but I had a bit of trouble understanding what's the proper way to change that, I'd like somebody else to take care of this. |
|
CC. @fanyang-mono, seems there's a bug in the Mono shift logic where it isn't masking the It needs to be
|
|
Logged #89868 for the other bug that's being worked around. |
|
Please disable the failing tests on |
|
It is just a few days away from RC1 snap. What is the status of this PR? @MichalPetryka, @tannergooding. |
|
@JulieLeeMSFT, should be ready for merge now that tests were added and the Arm64 issue was resolved in #90051 It needs sign-off from @dotnet/jit-contrib |
Fixes #89338