Port dotnet/runtime#31904 to release/3.1 (#28013)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Tue, 18 Feb 2020 18:06:38 +0000 (10:06 -0800)
committerHyungju Lee <leee.lee@samsung.com>
Fri, 30 Oct 2020 09:20:49 +0000 (18:20 +0900)
commit26f4d5ce68467aca9a9e9e2073a3a56e4bed3071
tree8d09563498d72d61daada4ffb86daf80b86e38ef
parent8e0799ded6b0dc6f1d35c605ef823b093622ab4c
Port dotnet/runtime#31904 to release/3.1 (#28013)

Remove BMI2 from ASCII and UTF-16 processing hot paths, as not all processors have optimized implementations of pext/pdep
src/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs
src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs
src/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs