Uh oh!
There was an error while loading. Please reload this page.
Units for BitOps.TrailingZeroCount - #35193
Conversation
Uh oh!
There was an error while loading. Please reload this page.
@stephentoub it's failing due to this line in the
[Edit] It needs that line for access to |
grant-d
commented
Feb 11, 2019
Tests are failing due to this code in publicstaticintTrailingZeroCount(uintvalue)
....
return Unsafe.AddByteOffset(refMemoryMarshal.GetReference(s_TrailingZeroCountDeBruijn),(IntPtr)(((value&-value)*0x077CB531u)>>27));// <--- (IntPtr) |
stephentoub
commented
Feb 11, 2019
Your workaround of adding an empty namespace to the test file seems fine. Thanks. |
Uh oh!
There was an error while loading. Please reload this page.
Jumped the gun. These won't pass until the sync from |
| <Compile Include="$(CommonPath)\System\Security\IdentityHelper.cs"> | ||
| <Link>Common\System\Security\IdentityHelper.cs</Link> | ||
| </Compile> | ||
| <Compile Include="$(CommonPath)\CoreLib\System\BitOps.cs"> |
There was a problem hiding this comment.
We can remove this once BitOps is exposed
| namespace Internal.Runtime.CompilerServices | ||
| { | ||
| // Dummy namespace needed for compilation of BitOps | ||
| } |
There was a problem hiding this comment.
We can remove this once BitOps is exposed
grant-d
commented
Feb 15, 2019
@dotnet-bot test corefx-ci (Linux x64_Release) please |
grant-d
commented
Feb 15, 2019
/azp run corefx-ci |
Azure Pipelines successfully started running 1 pipeline(s). |
grant-d
commented
Feb 15, 2019
/azp test corefx-ci (Linux x64_Release) |
This comment has been minimized.
This comment has been minimized.
grant-d
commented
Feb 15, 2019
/azp run corefx-ci (Linux x64_Release) |
No pipelines are associated with this pull request. |
grant-d
commented
Feb 15, 2019
Can we merge? |
grant-d
commented
Feb 18, 2019
Thanks for approving Jan, LGTM? |
Commit migrated from dotnet/corefx@23f36ed
Units for
BitOpsfrom related PRs: LZCNT, LOG2, TZCNT, ROTL/R, POPCNTcc @tannergooding, @jkotas