Skip to content

Commit

Permalink
Intrinsicify (x86, x64, Arm64, wasm) JsonReaderHelper.IndexOfOrLessThan
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams committed Mar 19, 2021
1 parent 9f93bcb commit 0ff68e7
Show file tree
Hide file tree
Showing 4 changed files with 679 additions and 181 deletions.
7 changes: 7 additions & 0 deletions src/libraries/System.Text.Json/src/System.Text.Json.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@
<Compile Include="System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs" />
<Compile Include="System\TypeExtensions.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Compile Include="System\Text\Json\Reader\JsonReaderHelper.Intrinsics.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">
<Compile Include="System\Text\Json\Reader\JsonReaderHelper.NoIntrinsics.cs" />
<Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\DynamicDependencyAttribute.cs" />
<Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs" />
<Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\DynamicallyAccessedMemberTypes.cs" />
Expand Down Expand Up @@ -255,6 +259,9 @@
<Reference Include="System.Threading.Tasks" />
<Reference Include="System.Threading.Tasks.Extensions" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
<Reference Include="System.Runtime.Intrinsics" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
<Reference Include="System.Diagnostics.Tools" />
</ItemGroup>
Expand Down
Loading

0 comments on commit 0ff68e7

Please sign in to comment.