Skip to content

Commit 73f3c7a

Browse files
Merge branch 'master' into issue/999
2 parents a6fd96b + fafba05 commit 73f3c7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ImageSharp/Common/Helpers/SimdUtils.BasicIntrinsics256.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public static class BasicIntrinsics256
1919
{
2020
public static bool IsAvailable { get; } = IsAvx2CompatibleArchitecture;
2121

22+
#if !SUPPORTS_EXTENDED_INTRINSICS
2223
/// <summary>
2324
/// <see cref="BulkConvertByteToNormalizedFloat"/> as many elements as possible, slicing them down (keeping the remainder).
2425
/// </summary>
@@ -74,6 +75,7 @@ internal static void BulkConvertNormalizedFloatToByteClampOverflowsReduce(
7475
dest = dest.Slice(adjustedCount);
7576
}
7677
}
78+
#endif
7779

7880
/// <summary>
7981
/// SIMD optimized implementation for <see cref="SimdUtils.BulkConvertByteToNormalizedFloat"/>.

0 commit comments

Comments
 (0)