Skip to content

Commit 69cd2f3

Browse files
Update Adler32 to correctly filter intrinsics. Fix #1228
1 parent 0890bca commit 69cd2f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Formats/Png/Zlib/Adler32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static uint Calculate(uint adler, ReadOnlySpan<byte> buffer)
6363
}
6464

6565
#if SUPPORTS_RUNTIME_INTRINSICS
66-
if (Sse3.IsSupported && buffer.Length >= MinBufferSize)
66+
if (Ssse3.IsSupported && buffer.Length >= MinBufferSize)
6767
{
6868
return CalculateSse(adler, buffer);
6969
}

0 commit comments

Comments
 (0)