-
Couldn't load subscription status.
- Fork 2.6k
Fix for 22326: BitOps.TrailingZeroCount has inconsistent software fallback #22333
Conversation
|
@tannergooding or @benaadams please advise what to do about the one failed check - it looks spurious |
|
Windows_NT x64 Checked CoreFX Tests @dotnet-bot test Windows_NT x64 Checked CoreFX Tests |
|
@dotnet-bot test coreclr-ci please |
|
From reading other PRs, it looks like the |
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.
LGTM.
Might be good if @jkotas, who signed off on the original PR, also approves before this is merged.
|
Can we merge? |
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.
Thanks
|
@tannergooding, @jkotas should we look at implement the |
|
AFAIK, there doesn't exist any intrinsic or recognized pattern for |
…oreclr#22333) Fix dotnet/coreclr#22326 Commit migrated from dotnet/coreclr@8e79024
Fixes #22326
cc @tannergooding @benaadams
SpanHelpersuses a intrinsic with a software fallback, but the latter returns a different answer to the former for an input of0.ifwas introduced.