-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
JIT: AdvSimd.ShiftRightLogical(x, 0)
throws in debug but not in release
#105621
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
@amanasifkhalid, PTAL. |
The reason why #105527 didn't cover |
I don't think we want to just filter any The actual bug here is that When the value is not a constant or not in range, it should instead be switching over to using This should be getting handled in So, |
@tannergooding thank you for the clarification! I'm guessing we should support this fallback for |
We want them to exist where there is a trivial alternative instruction that doesn't have the requirement the input be a constant. For .NET 9, I think it's sufficient to do the minimal work here to ensure we have deterministic behavior between the debug/release, that way we aren't regressing any scenarios. I think that others like |
Got it. I'm not seeing any discrepancy between debug/release for |
👍, this is probably because |
Sorry just to clarify, I tried |
cc @dotnet/jit-contrib
This is with #105527 included. Seems like it gets constant folded even though it should throw.
The text was updated successfully, but these errors were encountered: