mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Compression fails in Adler32 on a machine that supports SSE3, but not SSSE3 #511
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @emz00 on GitHub (Mar 30, 2022).
We're using MongoDB.Driver, which indirectly calls SharpCompress and it fails on a machine with a AMD Opteron(tm) Processor 6176 SE CPU, which supports SSE3, but not SSSE3.
This seems to be because the version of Adler32 used by SharpCompress checks for SSE3 and then uses SSSE3:
This is already fixed in the latest version: https://github.com/SixLabors/ImageSharp/blob/main/src/ImageSharp/Compression/Zlib/Adler32.cs
That checks
Ssse3.IsSupported- could you please upgrade to it? That would also fix #645.