You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
util/crc32c: always compile FastCRC32 with SSE4.2 instructions
The use of this function is guarded by a CPUID check. That is,
compiling this function with SSE4.2 crc32q instructions will never cause
a SIGILL, even on CPUs that don't support SSE4.2, because the function
can never be reached.
The previous solution to enable hardware support for CRC32C required
compiling all of RocksDB with `-msse4.2` or the equivalent. This gave
the compiler permission to emit SSE4.2 instructions in functions that
were not guarded by a CPUID check, resulting in SIGILLS on non-SSE4.2
CPUs.
0 commit comments