Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
__attribute__ ((target("crc32")))
for hw CRC32c function
Mark the x86 hardware CRC32c function with `__attribute__ ((target("crc32")))` on GCC and compatible compilers. This makes it possible to compile the project without explicit `-msse4.2`. This should work with GCC 4.9.0+ and Clang 3.8+ (roughly confirmed via godbolt.org).
- Loading branch information