Use '.arch_extension crc' in the arm64 crc32 codeWe don't care about the base architecture here, just that the crcextension is enabled.Sponsored by: Innovate UK(cherry picked from commit 0ec3e
Use '.arch_extension crc' in the arm64 crc32 codeWe don't care about the base architecture here, just that the crcextension is enabled.Sponsored by: Innovate UK(cherry picked from commit 0ec3e991112d85a790ca3bbb4175652f37f4bd15)
show more ...
arm64: add ".arch armv8-a+crc" to allow use of crc instructionsWith Clang 5.0 the .arch directive is required, otherwise Clangcomplains "error: instruction requires: crc".This was reported in D1
arm64: add ".arch armv8-a+crc" to allow use of crc instructionsWith Clang 5.0 the .arch directive is required, otherwise Clangcomplains "error: instruction requires: crc".This was reported in D10499 but not added initially, because clang 3.8available on a ref machine reported unknown directive. Clang 4.0 allowsbut does not require the directive.Submitted by: andrewMFC after: 1 weekSponsored by: The FreeBSD Foundation
armv8 has support for optional CRC32C instructions. This patch checks if they areavailable and if that is true make use of them.Thank you very much to Andrew Turner for providing help and review th
armv8 has support for optional CRC32C instructions. This patch checks if they areavailable and if that is true make use of them.Thank you very much to Andrew Turner for providing help and review the patch!Reviewed by: andrewMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D10499