Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
#pragma GCC target
to enable CRC in ARM64 hw implementation
Use `#pragma GCC target ("+crc+crypto")` to enable the necessary features in the ARM64 hardware CRC32c implementation. This makes it possible to build it without setting `-march` globally. This should work with GCC 6.3+, and Clang 18 (tested via godbolt.org). Older versions of Clang may require explicit `-march=` still.
- Loading branch information