Replace Create(ulong) with CreateScalar(uint) in PopCount (#37912)
authorKunal Pathak <Kunal.Pathak@microsoft.com>
Tue, 16 Jun 2020 06:40:16 +0000 (23:40 -0700)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2020 06:40:16 +0000 (23:40 -0700)
commit132be64c3c4781106b8da4328d39dcd0c696921d
tree592782acb5f0f9b79c5ebb4057cf57369971ae5d
parentbbb5902ab8afdd1fb74ed1a29f10e60e29258bb3
Replace Create(ulong) with CreateScalar(uint) in PopCount (#37912)

* Replace Create(ulong) with CreateScalar(uint)
* Add CreateScalar() in shim
src/libraries/System.Private.CoreLib/src/System/Numerics/BitOperations.cs
src/libraries/System.Utf8String.Experimental/src/System/Runtime/Intrinsics/Intrinsics.Shims.cs